spatie/regex
Cleaner, safer wrapper around PHP’s preg_* functions. Provides Regex::match/matchAll/replace with MatchResult objects, easy access to groups, sensible defaults, and callback-based replacements—no by-reference variables or confusing false/null error handling.
Full Changelog: https://github.com/spatie/regex/compare/3.1.0...3.1.1
Full Changelog: https://github.com/spatie/regex/compare/3.0.0...3.1.0
PREG_UNMATCHED_AS_NULL (#61)groups methodresultOr and groupOr methodsnamedGroupHow can I help you explore Laravel packages today?