PY-16356 PY-16357 PY-16376 PY-16591 PY-16694
authorIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Fri, 21 Aug 2015 22:21:23 +0000 (01:21 +0300)
committerIlya.Kazakevich <Ilya.Kazakevich@jetbrains.com>
Fri, 21 Aug 2015 22:21:23 +0000 (01:21 +0300)
commitb20c9e1739e1ff525a4f8823217fb6f3c9d3a071
treec4f49505cdd1db526f6bc53f73f5e7ad0af91b5d
parent920b00464e7755ec9119928e4ee8c746b53ffac2
PY-16356 PY-16357 PY-16376 PY-16591 PY-16694

Since regexp NFA uses backtracking long lines with strings may break current regexps, and no possessive quantifiers could be used because ":" is valid char in file path. So, we use sane limits to prevent freeze
python/src/com/jetbrains/python/run/PyTracebackParser.java
python/src/com/jetbrains/python/testing/pytest/PyTestTracebackParser.java
python/testSrc/com/jetbrains/python/testing/pytest/PyTestTracebackParserTest.java