You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three properties on top of the existing 4 example tests:
1. `output_is_valid_anchored_regex`: for any arbitrary string, the
produced regex compiles cleanly under `regex::Regex::new` and is
anchored with `^...$`. This is the real safety net — the glob path
feeds directly into a regex engine that panics on malformed input.
2. `literal_globs_match_themselves`: for globs without `*` or `?`, the
compiled regex matches the original glob string and does NOT match
a strictly larger string containing it.
3. `star_matches_arbitrary_content`: a `prefix*suffix` glob matches
`prefix<any>suffix`.
All three pass on the current implementation. No bugs surfaced — the
metacharacter escape list in glob_to_regex is complete for the input
space proptest explored.
0 commit comments