PackageTrack
Sign in Get early access

s9e/regexp-builder

Library that generates regular expressions that match a list of strings.

2.1.0 2.5M downloads/mo #2746 most downloaded on Packagist s9e/RegexpBuilder

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.3 years

Rarely documented

notes for 3 of 14 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

18 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

18 releases · Sep 2016 to Feb 2023
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 2.1.0 21 Feb 2023
    Release notes Open source →
  2. 2.0.0 08 Sep 2022
    Release notes

    See UPGRADING.md for backward-incompatible changes and CHANGES.md for an overview of functional changes.

    Open source →
  3. 2.0.0-rc1 08 Sep 2022 pre-release

    Nothing published for this version

  4. 2.0.0-beta.3 15 Aug 2022 pre-release
    Release notes

    See CHANGELOG.md for a list of changes.

    Open source →
  5. 2.0.0-beta.2 07 Aug 2022 pre-release

    Nothing published for this version

  6. 2.0.0-beta.1 05 Apr 2022 pre-release
    Release notes

    PHP requirements have been bumped to 8.1.

    ⚠ Change in behaviour: alternations at the root level of the generated expression are not put in a non-capturing group anymore. This change is only relevant if the generated expression is used as part of a bigger regexp. The old behaviour can be restored at runtime via the $builder->standalone property. See below for an example.

    $builder = new s9e\RegexpBuilder\Builder;
    var_dump($builder->build(['foo', 'bar', 'baz']));
    $builder->standalone = false;
    var_dump($builder->build(['foo', 'bar', 'baz']));
    string(10) "ba[rz]|foo"
    string(14) "(?:ba[rz]|foo)"
    
    Open source →
  7. 1.4.6 05 Mar 2022

    Nothing published for this version

  8. 1.4.5 28 Apr 2021

    Nothing published for this version

  9. 1.4.4 08 Jan 2020
    Release notes

    This release fixes a typo that caused left square brackets to be incorrectly interpreted as right square brackets, as well as a typing error on PHP 7.4.

    Open source →
  10. 1.4.3 26 Apr 2019

    Nothing published for this version

  11. 1.4.2 28 Oct 2018

    Nothing published for this version

  12. 1.4.1 09 Jan 2018

    Nothing published for this version

  13. 1.4.0 05 Jan 2018

    Nothing published for this version

  14. 1.3.0 30 Oct 2016

    Nothing published for this version

  15. 1.2.0 14 Oct 2016

    Nothing published for this version

  16. 1.1.0 18 Sep 2016

    Nothing published for this version

  17. 1.0.1 14 Sep 2016

    Nothing published for this version

  18. 1.0.0 05 Sep 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive