Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 3af3521ee7bc2cc6405a586f8d9001126af89ed0
      
https://github.com/Perl/perl5/commit/3af3521ee7bc2cc6405a586f8d9001126af89ed0
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M regcomp.c
    M t/re/re_tests

  Log Message:
  -----------
  regcomp: OPFAIL is neither SIMPLE nor HASWIDTH

This is an extension of fc7dfe8e82a76ba43c, which marked zero-width
constructs as non-SIMPLE.

This change affects synthetic OPFAIL nodes generated by the regclass
optimizer (empty character classes like [^\W\S] should always fail to
match), but which were still marked SIMPLE (indicating they match
exactly one character). If such a character class is under a quantifier,
it would cause regrepeat() to panic at runtime.

Fixes #22094.


  Commit: b559652771c1efeef063dff954c99a89057664d1
      
https://github.com/Perl/perl5/commit/b559652771c1efeef063dff954c99a89057664d1
  Author: Lukas Mai <lukasmai....@gmail.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp: cosmetic cleanup

- fix grammar error in comment introduced in perl 3.0
- remove duplicate semicola


Compare: https://github.com/Perl/perl5/compare/38bf7049ef87...b559652771c1

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to