Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0 B5
-
None
-
regular expression, strikethrough, radeox
-
Description
In file radeox_markup_xwiki.properties the regular expression that matches the strikethrough seems incomplete/wrong:
(?<!!)--(([^\\p{Space}])|([^\\p{Space}].*?[^\\p{Space}]))--(?!-) Indeed this expression will match the following input "---something--" Shouldn't the first look-behind be "(?<!-)" ? Maybe this lookahead is to avoid matching html comments <!-- -->, in this case we should write something like this: (?<!!)((?<!-)--) etc...