moodmosaic / Fare

Port of Java dk.brics.automaton and xeger, mostly used for generating strings that match a specific regular expression.
http://www.brics.dk/automaton/
MIT License
183 stars 43 forks source link

Freezes after during the execution of the method .ToAutomaton() #64

Open IvanChugreev opened 6 months ago

IvanChugreev commented 6 months ago
new RegExp(@"^.*HTTP.*\r\n(.+\x3a\s+.+\r\n){31,}").ToAutomaton();
// and also
new RegExp(@"(\x3c[a-zA-Z\x5f][a-zA-Z0-9\x5f]*[^\x3e]*[^\x2f]\x3e){50,}").ToAutomaton();
moodmosaic commented 4 months ago

Adding the bug label for now, as it appears to be a bug. I haven't tried to reproduce this locally yet.