Unescaped left brace in regex is deprecated, passed through in regex / perl 5.17.6 #872

Closed
kentfredric opened this Issue Dec 15, 2012 · 2 comments

3 participants

@kentfredric
t/00_base/08_pod_coverage_dancer.t ............. skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/
        (?:
            \%{ <-- HERE (.+?)}([a-z])|
            \%([a-zA-Z])
        )
    / at /ext/graft/home/webadmin/.cpanm/work/1355530664.19199/Dancer-1.3110/lib/Dancer/Logger/Abstract.pm line 132, <DATA> line 1000.
t/00_base/09_load_app.t ........................ 
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^{{ <-- HERE \$NEXT}}$|^\d\.\d{4}(_\d{2}   |      )\d{2}.\d{2}.\d{4}$/ at t/00_base/14_changelog.t line 105.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^({{ <-- HERE \$NEXT}})$|^\d\.\d{4}(_\d{2}   |      )\d{2}.\d{2}.\d{4}$/ at t/00_base/14_changelog.t line 106.
t/00_base/14_changelog.t
t/01_config/06_config_api.t .................... skipped: YAML needed to run this tests
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*eval { <-- HERE ...} called at (?:[.]/)?t/01_config/06_stack_trace.t/ at t/01_config/06_stack_trace.t line 28, <DATA> line 1000.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*eval { <-- HERE ...} called at (?:[.]/)?t/01_config/06_stack_trace.t/ at t/01_config/06_stack_trace.t line 52, <DATA> line 1000.
t/01_config/06_stack_trace.t ..................
t/02_request/13_ajax.t ......................... skipped: Test::TCP is needed to run this test
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/
        (?:
            \%{ <-- HERE (.+?)}([a-z])|
            \%([a-zA-Z])
        )
    / at /ext/graft/home/webadmin/.cpanm/work/1355530664.19199/Dancer-1.3110/lib/Dancer/Logger/Abstract.pm line 132, <DATA> line 1000.
Can't locate object method "read" via package "GLOB(0x2c3df00)" (perhaps you forgot to load "GLOB(0x2c3df00)"?) at /ext/graft/home/webadmin/.cpanm/work/1355530664.19199/Dancer-1.3110/lib/Dancer/Request.pm line 524.
# Looks like you planned 21 tests but ran 17.
# Looks like your test exited with 255 just after 17.
t/02_request/14_uploads.t ...................... 
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\[\d+\]  warn @.+> { <-- HERE 'this' => 'that'} in/ at t/11_logger/08_serialize.t line 23, <DATA> line 1000.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\[\d+\]  warn @.+> { <-- HERE 'a' => 2,'b' => 1,'c' => 5,'d' => 4,'e' => 3}/ at t/11_logger/08_serialize.t line 35, <DATA> line 
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/"foo" : { <-- HERE / at t/14_serializer/01_helpers.t line 71, <DATA> line 1000.
t/14_serializer/01_helpers.t ...................
@kentfredric kentfredric added a commit to kentfredric/Dancer that referenced this issue Dec 15, 2012
@kentfredric kentfredric Change regexps using { to have { escaped for compatibily with perl >=…
…5.17

Solves gh #872
ab8de23
@mokko

merged at #873. can be closed.

@xsawyerx
PerlDancer member

Excellent. Thanks @mokko, @kentfredric! :)

@xsawyerx xsawyerx closed this Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment