Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: ee2168cf3ae08f222fd07cf66fb88a26c15e6306
      
https://github.com/Perl/perl5/commit/ee2168cf3ae08f222fd07cf66fb88a26c15e6306
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M t/re/re_tests

  Log Message:
  -----------
  t/re/re_rests - extend test to show more buffers

This is a tricky test, showing more buffers makes it a bit easier
to understand if you break it. (Guess what I did?)


  Commit: c5b1c090dbd52c47488c0f80eecb9cb7fa6f93e3
      
https://github.com/Perl/perl5/commit/c5b1c090dbd52c47488c0f80eecb9cb7fa6f93e3
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M regcomp_internal.h
    M regcomp_study.c

  Log Message:
  -----------
  regcomp_study.c - Add a way to disable CURLYX optimisations

Also break up the condition so there is one condition per line so
it is more readable, and fold repeated binary tests together. This
makes it more obvious what the expression is doing.


  Commit: 0b5fb5dd6851cc2ffc94d9d28add98cc3f441ead
      
https://github.com/Perl/perl5/commit/0b5fb5dd6851cc2ffc94d9d28add98cc3f441ead
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M regexec.c

  Log Message:
  -----------
  regexec.c - rework CLOSE_CAPTURE() to take rex as an arg to enable reuse.

This also splits up CLOSE_CAPTURE() into two parts, with the important parts
implemented by CLOSE_ANY_CAPTURE(), and the debugging parts in
CLOSE_CAPTURE(). This allows it to be used in contexts where the regexp
structure isn't set up under the name 'rex', and where the debugging output it
includes might not be relevant or possible to produce.

This encapsulates all the places that "close" a capture buffer, and ensures
that they are closed properly. One important case in particular cannot use
CLOSE_CAPTURE() directly, as it does not have a 'rex' variable in scope (it is
called prog in this function), nor the debugging context used in normal
execution of CLOSE_CAPTURE(). Using CLOSE_ANY_CAPTURE() instead means all the
main points that update capture buffer state use the same macro API.


  Commit: b1ad323637ffe843cc851bc790fd31813638147d
      
https://github.com/Perl/perl5/commit/b1ad323637ffe843cc851bc790fd31813638147d
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M regcomp.c
    M regcomp.h

  Log Message:
  -----------
  regcomp.h - get rid of EXTRA_STEP defines

They are unused these days.


  Commit: 0e946b8626799edfa80f978f41e9abb045579c24
      
https://github.com/Perl/perl5/commit/0e946b8626799edfa80f978f41e9abb045579c24
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c - add whitespace to binary operation

The tight & is hard to read.


  Commit: 3645ca4ee1a59fae1a6d6817c4582968ffd0a731
      
https://github.com/Perl/perl5/commit/3645ca4ee1a59fae1a6d6817c4582968ffd0a731
  Author: Yves Orton <demer...@gmail.com>
  Date:   2023-01-15 (Sun, 15 Jan 2023)

  Changed paths:
    M regcomp_trie.c

  Log Message:
  -----------
  regcomp_trie.c - use the indirect types so we are safe to changes

We shouldnt assume that a TRIEC is a regcomp_charclass. We have a per
opcode type exactly for this type of use, so lets use it.


Compare: https://github.com/Perl/perl5/compare/41af9f428a96...3645ca4ee1a5

Reply via email to