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
Regression: \N{} is incorrectly ignored in regexes #14932
Comments
From victor@drawall.ccCreated by @GrimyHow to reproduce
Expected behavior Perl should die with either of the following diagnostics:
(This was the behavior in perl5.20.2)
(This mimics the current behavior for /(?[\N{}])/) Actual behavior [\N{}] is treated as an empty character class. Affected versions Current blead (2d9b5f1) is affected. Perl Info
|
From @khwilliamsonThis warns, and this warning seems adequate to me: Ignoring zero length \N{} in character class in regex; marked by <-- HERE in m/[\N{} <-- HERE ]/ at -e line 1. |
The RT System itself - Status changed from 'new' to 'open' |
From @khwilliamsonI'm taking this ticket, with the intent of rejecting it if no one within the next 7 days disagrees with my assessment about the warning being sufficient notice |
From @khwilliamsonRejecting, as I previously indicated |
@khwilliamson - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#126179 (status was 'rejected')
Searchable as RT126179$
The text was updated successfully, but these errors were encountered: