You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
regexify does not handle [.] properly. It should treat it as literal ., not "any character" when it is in square brackets. This can be reproduced with test:
* fix regexify dot in braces
* add test
* add test
* add test
Signed-off-by: Daniel Schmelz <daniel@schmelz.org>
* add dot test
Signed-off-by: Daniel Schmelz <daniel@schmelz.org>
Summary
regexify
does not handle[.]
properly. It should treat it as literal.
, not "any character" when it is in square brackets. This can be reproduced with test:Faker/test/Faker/Provider/BaseTest.php
Lines 319 to 322 in 7dea0d7
using following data set:
Faker/test/Faker/Provider/BaseTest.php
Line 340 in 7dea0d7
Versions
fakerphp/faker
Self-enclosed code snippet for reproduction
Expected output
Actual output
The text was updated successfully, but these errors were encountered: