jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60668] invalid regular expressions gets jmeter stuck everytime
Date Wed, 01 Feb 2017 20:31:49 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60668

--- Comment #2 from Felix Schumacher <felix.schumacher@internetallee.de> ---
The used regex is badly composed and will take a long time on moderately long
inputs.

The important pieces here are, that the matching is done in the awt thread and
thus blocking the GUI. Secondly Java has no standard way to interrupt regex
matches.

On
http://stackoverflow.com/questions/910740/cancelling-a-long-running-regex-match
Is a nice wrapper for charsequence, which in combination with a thread can be
used to make the matching interruptible.

I think I can produce a patch, but it will probably take a few days.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message