Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ is_glob_pattern
Function
is_glob_pattern
src/permissions/bash_parser/shell_quote.py:22–23 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
20
21
22
def
is_glob_pattern(s: str) -> bool:
23
return
bool(re.search(r
"(?<!\\)[*?[\]]"
, s))
24
25
26
def
expand_home(path: str) -> str:
Callers
3
test_star
Method · 0.90
test_question_mark
Method · 0.90
test_no_glob
Method · 0.90
Calls
1
search
Method · 0.80
Tested by
3
test_star
Method · 0.72
test_question_mark
Method · 0.72
test_no_glob
Method · 0.72