Given the following code:
import std.stdio, std.regex;
void main(string argv[]) {
string m = argv[1];
auto p =
ctRegex!("a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
if (match(m, p)) {
writeln("match");
} else {
writeln("no match");
}
}
Compile time becomes extremely long due to the regex optimizer not merging equivalent threads as explained in the forum post here: http://forum.dlang.org/post/[email protected]
Comment #1 by reaperunreal — 2015-11-04T15:12:29Z
Any word on getting this fixed?
Comment #2 by dmitry.olsh — 2015-11-04T15:50:29Z
(In reply to Guillaume Couture-Levesque from comment #1)
> Any word on getting this fixed?
Been exceedingly busy, forgot about this issue.
All in all I wanted to complete a big chunk of work
On decode-less regex first then do a pass over issues.
Does this block you in any way? If so I could give it a shot
sometime during this week.
Comment #3 by reaperunreal — 2015-11-04T18:52:26Z
No, not blocking, just wondering if there was an update. Good luck on your other work.
Comment #4 by github-bugzilla — 2016-04-11T21:06:46Z