Closed axelfontaine closed 1 month ago
This could also be an issue in the dependency, not in faker. Similar to #209 .
I'll take a look and see if I can reproduce it and will think if there's a possibility to fix. But feel free to make a PR if you have some ideas on how this could be fixed ;)
Other examples:
Regex: ^AKIA\S{16}$
Generated invalid value: ^AKIA蘕篝爈ᇦ$
Regex: ^\S{40}$
Generated invalid value: ^弌늒⿈褻ᤑᮀゔ|b㫃Ц庴佤$
Regex: ^i-0[\da-f]{16}$
Generated invalid value: ^i-0[a-f]]]]]]]]]]]]]]]]$
Regex:
^[a-zA-Z\d](?:[a-zA-Z\d]|-(?!-)){0,38}$
Example generated invalid value:
^2]?:0]-?!-?:A]$