openresty/sregex

01-sanity-02.t – tests 34, 36, 37 are broken

jirutka opened this issue · 0 comments

t/01-sanity-02.t ........... 1/? 
#   Failed test 'TEST 34: - bad regex: x{0, 1}: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/x{ <-- HERE 0, 1}/ at sregex-0.0.1/t/SRegex.pm line 162.
# '
#   at sregex-0.0.1/t/SRegex.pm line 166.

#   Failed test 'TEST 36: - bad regex: x{0 ,1}: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/x{ <-- HERE 0 ,1}/ at sregex-0.0.1/t/SRegex.pm line 162.
# '
#   at sregex-0.0.1/t/SRegex.pm line 166.

#   Failed test 'TEST 37: - bad regex: x{,12}: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/x{ <-- HERE ,12}/ at sregex-0.0.1/t/SRegex.pm line 162.
# '
#   at sregex-0.0.1/t/SRegex.pm line 166.

Environment:

  • gcc 10.2.1_pre1
  • perl v5.32.0
  • IPC::Run3 0.048
  • Test::Base 0.89
  • Test::LongString 0.17
  • PathTools (Cwd) 3.75
  • Alpine Linux Edge