Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scriptscat/scriptcat
/ eatQuantMod
Function
eatQuantMod
src/pkg/utils/regex_to_glob.ts:103–105 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
101
102
// 量词修饰:懒惰/占有 '?','+' —— 在 glob 中等价,统一忽略
103
function
eatQuantMod(): void {
104
if
(peek() ===
"?"
|| peek() ===
"+"
) next();
105
}
106
107
// Interface for parsed unit
108
// 单元接口
Callers
3
parseBracesQuant
Function · 0.85
analyzeSimpleSequence
Function · 0.85
applyQuantifier
Function · 0.85
Calls
2
peek
Function · 0.85
next
Function · 0.85
Tested by
no test coverage detected