pcre

PCRE wrapping library that offers type-safe preg_* replacements.

MIT License

Downloads
166.4M
Stars
490
Committers
8

Bot releases are hidden (Show)

pcre - 3.3.1 Latest Release

Published by Seldaek about 2 months ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/3.3.0...3.3.1

pcre - 2.3.1

Published by Seldaek about 2 months ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/2.3.0...2.3.1

pcre - 3.3.0

Published by Seldaek 2 months ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/3.2.0...3.3.0

pcre - 2.3.0

Published by Seldaek 2 months ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/2.2.0...2.3.0

pcre - 3.2.0

Published by Seldaek 3 months ago

  • Added a PHPStan extension (include vendor/composer/pcre/extension.neon) to infer more precise $matches array shape, as well as validate regexes. Thanks @staabm (#25, #26, #27, #28, #29, #30)

Full Changelog: https://github.com/composer/pcre/compare/3.1.4...3.2.0

pcre - 2.2.0

Published by Seldaek 3 months ago

  • Added a PHPStan extension (include vendor/composer/pcre/extension.neon) to infer more precise $matches array shape, as well as validate regexes. Thanks @staabm (#25, #26, #27, #28, #29, #30)

Full Changelog: https://github.com/composer/pcre/compare/2.1.3...2.2.0

pcre - 3.1.4

Published by Seldaek 5 months ago

  • Fixed one last deprecation when running on PHP 8.4

Full Changelog: https://github.com/composer/pcre/compare/3.1.3...3.1.4

pcre - 3.1.3

Published by Seldaek 7 months ago

  • Fixed deprecations when running on PHP 8.4

Full Changelog: https://github.com/composer/pcre/compare/3.1.2...3.1.3

pcre - 2.1.3

Published by Seldaek 7 months ago

  • Fixed deprecations when running on PHP 8.4

Full Changelog: https://github.com/composer/pcre/compare/2.1.2...2.1.3

pcre - 3.1.2

Published by Seldaek 8 months ago

  • Fixed @param-out and $match by-ref args to work better with PHPStan 1.10.60
  • Fixed bug in Preg::replaceCallbackStrictGroups not detecting null values when used with PREG_OFFSET_CAPTURE

Full Changelog: https://github.com/composer/pcre/compare/3.1.1...3.1.2

pcre - 2.1.2

Published by Seldaek 8 months ago

  • Fixed @param-out and $match by-ref args to work better with PHPStan 1.10.60

Full Changelog: https://github.com/composer/pcre/compare/2.1.1...2.2.0

pcre - 3.1.1

Published by Seldaek about 1 year ago

  • Fixed Preg::matchAllWithOffsets having the wrong phpdoc for $matches (#18)

Full Changelog: https://github.com/composer/pcre/compare/3.1.0...3.1.1

pcre - 2.1.1

Published by Seldaek about 1 year ago

  • Fixed Preg::matchAllWithOffsets having the wrong phpdoc for $matches (#18)

Full Changelog: https://github.com/composer/pcre/compare/2.1.0...2.1.1

pcre - 3.1.0

Published by Seldaek almost 2 years ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/3.0.2...3.1.0

pcre - 2.1.0

Published by Seldaek almost 2 years ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/2.0.2...2.1.0

pcre -

Published by Seldaek almost 2 years ago

  • Improved type annotations for static analysis, $matches will now be populated correctly with @param-out annotations (requires PHPStan 1.9)

Full Changelog: https://github.com/composer/pcre/compare/3.0.1...3.0.2

pcre -

Published by Seldaek almost 2 years ago

  • Improved type annotations for static analysis, $matches will now be populated correctly with @param-out annotations (requires PHPStan 1.9)

Full Changelog: https://github.com/composer/pcre/compare/2.0.1...2.0.2

pcre - 3.0.1

Published by Seldaek almost 2 years ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/3.0.0...3.0.1

pcre - 2.0.1

Published by Seldaek almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/composer/pcre/compare/2.0.0...2.0.1

pcre - 3.0.0

Published by Seldaek over 2 years ago

What's Changed

Full Changelog: https://github.com/composer/pcre/compare/2.0.0...3.0.0