Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Hostname, .cn) preg_match(): Compilation failed: regular expression is too large at offset 156184 #181

Open
arokettu opened this issue Apr 19, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@arokettu
Copy link

Bug Report

Q A
Version(s) 2.30.1

Summary

$v = new \Laminas\Validator\EmailAddress();

var_dump($v->isValid('irrelevant@something,.cn'));

Current behavior

PHP Warning: preg_match(): Compilation failed: regular expression is too large at offset 156184 in .../src/Hostname.php on line 2123

Apparently an issue similar to #8 but for .cn zone

How to reproduce

see summary

Expected behavior

no warnings thrown

@arokettu arokettu added the Bug Something isn't working label Apr 19, 2023
@arokettu arokettu changed the title (.cn) preg_match(): Compilation failed: regular expression is too large at offset 156184 (Hostname, .cn) preg_match(): Compilation failed: regular expression is too large at offset 156184 Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant