PreviousNextTracker indexSee it online !

(225/247) 3888 - span_regexp does not support regexp attribute in END subtag

This could be considered a documentation bug, so I'm not really sure it should be submitted here, but [this page](http://www.jedit.org/users-guide/mode-rule-span-regexp.html) states that
> In addition, the END subtag supports the attribute REGEXP, which if set to TRUE, tells the highlighter to interpret the END text as a regular expression as well.

This is absolutely false, as any simple test will demonstrate:

<SPAN_REGEXP HASH_CHAR="a">
<BEGIN>aaa</BEGIN>
<END REGEXP="TRUE">[a]</END>
</SPAN_REGEXP>

This span is only closed by the string "[a]", not the character "a"

Submitted dan42 - 2014-10-24 13:35:51.260000 Assigned
Priority 5 Labels documentation
Status open Group minor bug
Resolution None

Comments