Branch: refs/heads/yves/fix_accept
  Home:   https://github.com/Perl/perl5
  Commit: ab2f9160377253221d86dbaf6782140d5ce35440
      
https://github.com/Perl/perl5/commit/ab2f9160377253221d86dbaf6782140d5ce35440
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: enhance S_debug_studydata to show min/stopmin/delta

Also call it many more times during the study_chunk() process.

This is helpful for debuging minlen related issues.

Note this function is not in embed.fnc and is used strictly inside
of the regex engine, so no changes there.


  Commit: 475f9414a525fea6dac191025cf6ef578cb9a12d
      
https://github.com/Perl/perl5/commit/475f9414a525fea6dac191025cf6ef578cb9a12d
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: reorder and comment S_study_chunk() internal vars

The list was kinda random and did not include many comments, which made
life difficult understanding what the purpose of the different vars.

This documents them, and includes a follow up to investigate that came
up during the documentation process: first_non_open seems a bit off.
Will investigate and improve further in a subsequent patch.


  Commit: cb8c61498bc23b6469af001951b65fa27924ef98
      
https://github.com/Perl/perl5/commit/cb8c61498bc23b6469af001951b65fa27924ef98
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: minor blank line removal/insertion for clarity


  Commit: 504ef7afa8c7c31adf5f70ca668d963326b2e7e4
      
https://github.com/Perl/perl5/commit/504ef7afa8c7c31adf5f70ca668d963326b2e7e4
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: deal with stopmin and min properly

stopmin is set when we encounter an ACCEPT, it basically says "even
though the minlen might look like X it is actually a smaller Y". It also
implies that delta (which refers to the max length a pattern might
match) should be at least a certain size. This was not being handled
properly nor propagated to callers in all situations. This in particular
affected use of ACCEPT inside of lookbehind. This also made final_minlen
redundant and it has been removed.


  Commit: caa153275efd6be53b18ed90218e57adccde1729
      
https://github.com/Perl/perl5/commit/caa153275efd6be53b18ed90218e57adccde1729
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M t/re/re_tests

  Log Message:
  -----------
  re_tests: ACCEPT inside UNLESSM fixed width negative lookbehind


  Commit: 49dfcb3ca9db871294812f6554100bc349d8fc2a
      
https://github.com/Perl/perl5/commit/49dfcb3ca9db871294812f6554100bc349d8fc2a
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M t/re/re_tests

  Log Message:
  -----------
  re_tests: ACCEPT inside of named capture accessed via GOSUB


  Commit: 3d6acc7d33490f00cdc4c6643ebe5f1763585762
      
https://github.com/Perl/perl5/commit/3d6acc7d33490f00cdc4c6643ebe5f1763585762
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M t/re/re_tests

  Log Message:
  -----------
  re_tests: ACCEPT in IFMATCH: variable positive lookbehind


  Commit: c908eff489e4bf728da52230d0d6f22342602483
      
https://github.com/Perl/perl5/commit/c908eff489e4bf728da52230d0d6f22342602483
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M t/re/re_tests

  Log Message:
  -----------
  re_tests: ACCEPT in UNLESSM variable negative lookbehind


  Commit: 263be8fd93c7c26a5948ff03965b7283c06b6c3b
      
https://github.com/Perl/perl5/commit/263be8fd93c7c26a5948ff03965b7283c06b6c3b
  Author: Yves Orton <demer...@gmail.com>
  Date:   2022-03-13 (Sun, 13 Mar 2022)

  Changed paths:
    M t/re/reg_mesg.t

  Log Message:
  -----------
  reg_mesg.t: check that ACCEPT in capturing variable length lookbehind warns


Compare: https://github.com/Perl/perl5/compare/53a3cd00b74a...263be8fd93c7

Reply via email to