All Notable changes to regex
will be documented in this file
- Use nicer error messages by @Seldaek in spatie#64
- @Seldaek made their first contribution in spatie#64
Full Changelog: https://github.com/spatie/regex/compare/3.1.0...3.1.1
- Add support for PHP 8.1
Full Changelog: https://github.com/spatie/regex/compare/3.0.0...3.1.0
- implement
PREG_UNMATCHED_AS_NULL
(#61)
- small internal refactor
- require PHP 8+
- drop support for PHP 7.x
- convert syntax to PHP 8
- move exceptions to "Exceptions" directory to match structure of other packages
- add support for PHP 8.0
- drop anything below PHP 7.3
- fix for #37
- fix determining the last preg error
- fix for PHP 7.3
- Treat named groups the same way as regular groups
- Added
resultOr
andgroupOr
methods
- Added
namedGroup
- Initial release