Branch: refs/heads/yves/reg_diag_and_style_cleanups Home: https://github.com/Perl/perl5 Commit: ed5c8514e76ecb1a48a3b72b07582360d6ab3da4 https://github.com/Perl/perl5/commit/ed5c8514e76ecb1a48a3b72b07582360d6ab3da4 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-09 (Sun, 09 Feb 2025)
Changed paths: M regexec.c Log Message: ----------- regexec.c - change "failed" var in AHO-CORASICK matching to bool Noticed by mauke in https://github.com/Perl/perl5/pull/22978 I didn't make the change in that commit to keep it minimal for the purpose of fixing a bug, but the failed var should be a bool not an integer. Commit: 7797e866f7bcd71eee570f76ed80708a44e91757 https://github.com/Perl/perl5/commit/7797e866f7bcd71eee570f76ed80708a44e91757 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-09 (Sun, 09 Feb 2025) Changed paths: M regexec.c Log Message: ----------- regexec.c - improvements to AHO-CORASICK diagnostics output Add color support, and clean up the output to use hex, add word data, show the character for ASCII characters. Commit: 98ab6ed44a6a6c2bab6d15960318c213214c7c01 https://github.com/Perl/perl5/commit/98ab6ed44a6a6c2bab6d15960318c213214c7c01 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-09 (Sun, 09 Feb 2025) Changed paths: M regexec.c Log Message: ----------- regexec.c - make TRIE and AHO-CORASICK debugging more similar and add a bit of extra metadata to both. I used a cruder version of this to debug #22892 Commit: 6af377712a2837d55d15b34e3126b478c9247f3a https://github.com/Perl/perl5/commit/6af377712a2837d55d15b34e3126b478c9247f3a Author: Yves Orton <demer...@gmail.com> Date: 2025-02-09 (Sun, 09 Feb 2025) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - change how we show flags in panic messages use "flags:" instead of "flags=" as this makes it easier to distinguish cases where we are debugging the value of flags versus assigning to it. Commit: 08bde9f8836cd1f47d0e001d1ac53b8bc84c8508 https://github.com/Perl/perl5/commit/08bde9f8836cd1f47d0e001d1ac53b8bc84c8508 Author: Yves Orton <demer...@gmail.com> Date: 2025-02-09 (Sun, 09 Feb 2025) Changed paths: M regcomp.c M regcomp_debug.c M regcomp_invlist.c M regcomp_study.c M regcomp_trie.c M regexec.c Log Message: ----------- reg*.c - use a consistent style for (in)equality and assign operators In some of my older patches I left hugged assignements, and sometimes I tightly hugged (in)equality operators, and sometime I did not. There is also some level of inconsistency with some other contributors. This patch tries to make all such cases consistent, with no hugging. No actual logic changes should be present in this patch. Compare: https://github.com/Perl/perl5/compare/ed5c8514e76e%5E...08bde9f8836c To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications