Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: pcre2 10.37 in rawhide has a regression with its (jit) matching results. Version-Release number of selected component (if applicable): 10.37 How reproducible: 100% Steps to Reproduce: 1. Install pcre2-tools 2. Run `pcre2test -jit` 3. At re> prompt, enter (with the quotes): "#(A+)#\d+" 4. At the data> prompt, enter: #A#A#0 Actual results: "No Match" in rawhide (pcre2 10.37) Expected results: "#A#0" / "A" in Fedora34 (pcre2 10.36) Additional info: This appears to be related to upstream bug <https://bugs.exim.org/show_bug.cgi?id=2764> and other associated jit bugs referenced there, and should be fixed with pcre2 svn patch r1315 It should be noted that in https://bugzilla.redhat.com/show_bug.cgi?id=1965025#c1 mentioned the need to apply the upstream patches to 10.37 to avoid regressions (there was discussions about releasing a 10.38 by the pcre2 team to fix the regression, but as of now, it appears one will need to cherry pick any upstream patches).
Yes, I will take a look into this one, before the update in Centos-9. Thank you for reporting this issue.
I've copied the upstream's patch r1315 and applied it in this PR: https://src.fedoraproject.org/rpms/pcre2/pull-request/5 I've used the reproducer from the bug (which is working with the new patch): printf '%s\n%s\n' '/(?P<prefix>:\/\/|^)(?P<user>[^:\/\s@]+):(?P<password>[^@\s\/]+)@/i' 'http://10a8f08e8d7b7b9:foo@example.org' | pcre2test -jit
Scratch build (successful): https://koji.fedoraproject.org/koji/taskinfo?taskID=72735454
The build is in Rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=72739492 Closing this BZ