v1.4.0
Minor version adding glob.match, glob.quote_meta, and regex.globs_match
built-in implementations.
New Features
- Added
glob.matchbuilt-in with full gobwas/glob-compatible pattern matching,
including*,**,?, character classes ([abc],[a-z],[!x]),
brace alternatives ({foo,bar}), and configurable path delimiters. - Added
glob.quote_metabuilt-in for escaping glob metacharacters. - Added
regex.globs_matchbuilt-in for testing whether the intersection of
two glob patterns matches a non-empty set of non-empty strings.
Bug Fixes
- Fixed
regex.find_all_string_submatchto advance by one Unicode codepoint
after a zero-length match, preventing infinite loops and matching Go's
regexp.FindAllStringSubmatchbehavior.
Build System / Packaging
- Fixed vcpkg
portfile.cmakeREF to usev${VERSION}prefix, matching the
actual git tag format. - Added
"supports": "!x86"constraint to vcpkg manifest. - Bumped vcpkg OpenSSL minimum version from
3.0.0to3.0.2.
Test Infrastructure
- Extracted built-in-specific test cases from
regocpp.yamlinto a new
builtins.yamlfile with a dedicated CTest target (rego_test_builtins). - Added 27 new test cases covering
glob.match,glob.quote_meta, and
regex.globs_match(including edge cases and error conditions).