Skip to content

Releases: s9e/RegexpBuilder

2.1.0

21 Feb 20:53
2.1.0
Compare
Choose a tag to compare

2.0.0

13 Sep 19:47
2.0.0
Compare
Choose a tag to compare

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

2.0.0-beta.3

20 Aug 11:59
2.0.0-beta.3
Compare
Choose a tag to compare

See CHANGELOG.md for a list of changes.

2.0.0-beta.1

05 Apr 17:17
2.0.0-beta.1
Compare
Choose a tag to compare

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)"

Bugfix release

05 Mar 16:30
1.4.6
Compare
Choose a tag to compare

This release fixes an issue (PHP error) that can occur with some combinations of strings. It requires a fairly specific combination of strings made of digits and sharing the same prefix.

Maintenance release

29 Apr 14:20
1.4.5
Compare
Choose a tag to compare

All classes have been converted enforce strict typing. There is no other change.

1.4.4

08 Jan 02:51
1.4.4
Compare
Choose a tag to compare

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.

Maintenance release

26 Apr 17:57
1.4.3
Compare
Choose a tag to compare

composer.json was updated.

Maintenance release - no functional change

28 Oct 21:36
1.4.2
Compare
Choose a tag to compare

Some internal methods have been updated with no functional change.

1.4.1

09 Jan 17:43
1.4.1
Compare
Choose a tag to compare

This release fixes an issue with unescaped carets at the beginning of a character class.