November 24, 2019 [Issue 15489] regex - `(..).*\1` doesn't match "axxxx" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15489 mipri <mipri@minimaltype.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mipri@minimaltype.com --- Comment #7 from mipri <mipri@minimaltype.com> --- > a) Use what works for now. Is this an option anymore? bmatch() no longer matches this result, and appears to have been deprecated in late 2017 as the source is now identical to that of match() -- |
December 01, 2019 [Issue 15489] regex - `(..).*\1` doesn't match "axxxx" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15489 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@d-ecke.de Resolution|--- |WORKSFORME --- Comment #8 from berni44 <bugzilla@d-ecke.de> --- Seems to work meanwhile... -- |
June 19, 2020 [Issue 15489] regex - `(..).*\1` doesn't match "axxxx" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15489 oddp <oddp@posteo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |oddp@posteo.de Resolution|WORKSFORME |--- --- Comment #9 from oddp <oddp@posteo.de> --- This backreference issue isn't fixed entirely: void main () { import std.regex, std.stdio; auto r = r"(..).*\1"; foreach (s; ["abab", "abcab", "xababx", "xabcabx"]) writefln("%s %s %s %s", s, s.matchFirst(r), s.match(r), s.bmatch(r)); // abab ["abab", "ab"] [["abab", "ab"]] [["abab", "ab"]] // abcab ["abcab", "ab"] [["abcab", "ab"]] [["abcab", "ab"]] // xababx ["abab", "ab"] [["abab", "ab"]] [["abab", "ab"]] // xabcabx [] [] [] } Here are a handful ids that std.regex fails to match: vrnyrnbfcx jrqrkgdrqm meflbefata svdyayyedy cwdpoivoie Another hundred on the playground: https://run.dlang.io/is/O8slu9 // 100 out of 100 failed. -- |
December 17, 2022 [Issue 15489] regex - `(..).*\1` doesn't match "axxxx" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=15489 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation