Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dlclark/regexp2
/ isASCIIString
Function
isASCIIString
stringprefixfilter.go:458–465 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
456
}
457
458
func
isASCIIString(s string) bool {
459
for
i := 0; i < len(s); i++ {
460
if
s[i] >= utf8.RuneSelf {
461
return
false
462
}
463
}
464
return
true
465
}
Callers
5
indexOfLiteralAfterLoop
Function · 0.85
stringIndexPrefixFilter
Function · 0.85
stringIndexPrefixesFilter
Function · 0.85
compileASCIIStringSetPrefixFilter
Function · 0.85
stringLiteralAfterLoopFilter
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected