You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2020/08/01 15:27:24 UTC

[Bug 64585] JSON Assertion: Using "Match as regular expression" on negated classes leads to stackoverflow

https://bz.apache.org/bugzilla/show_bug.cgi?id=64585

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
The regex seems to be really hard for oro (and for Javas regex parser, too. see
https://stackoverflow.com/questions/7509905/java-lang-stackoverflowerror-while-using-a-regex-to-parse-big-strings)

You could try to ease the burden a bit by handling the trivial cases first:

^\[((?:""|"[^"\\]*"|"(?:[^"\\]|\\.)*"),?)*\]$

That seems to work with your data.

-- 
You are receiving this mail because:
You are the assignee for the bug.