|
|
https://issues.apache.org/bugzilla/show_bug.cgi?id=44972
Summary: Regular Expression (?s) not accepted at end of pattern
Product: JMeter
Version: 2.3.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: jmeter-dev@xxxxxxxxxxxxxxxxxx
ReportedBy: michael.giroux@xxxxxxxx
Documentation at http://perldoc.perl.org/perlre.html#Extended-Patterns
indicates that the single line modifier may appear at either end of a pattern:
> These can be used anywhere within the expression, e.g.
> (?i)apple(?-i) Pie - matches "ApPLe Pie", but not "ApPLe pIe"
Using 2.3.1, I get an error when the qualifier appears at the end of the
pattern:
TP-STORAGE CONTENTS:.*TX-TYPE +ECHOTPS(?s)
Results in an error:
Assertion failure message : Bad test configuration
org.apache.oro.text.MalformedCachePatternException: Invalid
expression:
TP-STORAGE CONTENTS:.*TX-TYPE +ECHOTPS(?s)
Unmatched parentheses.
Placing the qualifier at the beginning of the pattern works:
(?s)TP-STORAGE CONTENTS:.*TX-TYPE +ECHOTPS
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: jmeter-dev-help@xxxxxxxxxxxxxxxxxx
|
|