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

Deprecation warning for unescaped left brace in regex #4

Open
apoleon opened this issue Jun 8, 2016 · 1 comment
Open

Deprecation warning for unescaped left brace in regex #4

apoleon opened this issue Jun 8, 2016 · 1 comment

Comments

@apoleon
Copy link

apoleon commented Jun 8, 2016

Hi,

please find attached a simple patch that fixes deprecation warnings about unescaped left brace in regex which will become fatal with Perl 5.26.

https://gist.github.com/apoleon/5d0b64861b69ced6e7153ef4fc19965a

@eserte
Copy link

eserte commented Aug 31, 2016

With perl 5.25.x this is now really a fatal error:

Output from './Build test':

Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/Games::PangZero::Players\[0]->{ <-- HERE keys}->\[0] = (.+?)$/ at /tmpfs/.cpan-build-cpansand/2016083106/Games-PangZero-v1.4.1-0/blib/lib/Games/PangZero/Config.pm line 107.
t/00-run.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants