Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dlclark/regexp2
/ isASCIIString
Function
isASCIIString
stringprefixfilter.go:491–498 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
489
}
490
491
func
isASCIIString(s string) bool {
492
for
i := 0; i < len(s); i++ {
493
if
s[i] >= utf8.RuneSelf {
494
return
false
495
}
496
}
497
return
true
498
}
Callers
5
compileEqualASCIIPrefixSearch
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