It creates an internal message and an error of the form
Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE TopicName
I haven't tested it in 4.0 yet.
--
ML
I cannot reproduce this in twiki4
Number of topics: 0
does not create any errors on my twiki4
--
KJL
Try
TopicSearchText1
It breaks with both ~twiki4 and ~develop
TopicSearchText1 has this:
%SEARCH{"*Test*" regex="on" scope="topic" format=" * $topic"}%
(Cairo does the same for bad regexs, see
TWiki:Sandbox.TestBadRegex).
%SEARCH{".*Test.*" type="regex" scope="topic" format=" * $topic"}%
Works ok.
--
SP
Um, just because Cairo breaks it's OK that Dakar breaks too? And, oddly enough, it
doesn't break as long as you don't say scope="topic". One way or the other, breaking is bad, especially since regexes are often quite difficult to get right.
--
ML
Reprioritized to normal as discussed in edin* meeting.
--
PTh
Setting this to enchancement. New wanted behaviour on bad regexps should be discussed in Codev.
--
SP
Setting to No Action. If user is using regular expressions, then the returned error is valid. No error is recorded to the logs.
--
GeorgeClark - 06 Jan 2015