Open GoogleCodeExporter opened 9 years ago
Additional info:
another partially influencing thing is negative lookbehind + alternation:
(?<!foo )bar|baz
This influences on which of tons of my regexes would crash. Usually crashes the
one with this 2 features: lookbehind and alternation. Once I remove this from
the regex, bug appears on another regex.
Original comment by arseniy....@gmail.com
on 5 May 2014 at 2:18
I don't have enough information.
It might be that in certain circumstances it tries to read outside the target
string, the result of which is unpredictable, but none of the testing I've done
shows any such problem.
I need a regex and target string to test. You could email me directly if
necessary.
Original comment by re...@mrabarnett.plus.com
on 5 May 2014 at 5:08
Additional info: bug doesn't appear immediately. I have millions of different
target strings. Crash appears after calling reg.finditer() 100-1000 times on
some combination of target strings. I tried to log and factor out the
combination- and that's how I noticed the connection with existing string
objects: if I add/remove logging/encoding/printing- this influences somehow and
bug doesn't reproduce.
Anyway, I will try to create crashing module + several source/target files. The
problem is NDA which forbids me to post exact source/target strings, so I have
to factor out minimum and then change it somehow.
Original comment by arseniy....@gmail.com
on 6 May 2014 at 5:04
Original issue reported on code.google.com by
arseniy....@gmail.com
on 5 May 2014 at 2:12