TRegExHighlighter.RegExStartStop property
PlusMemo Help Send comments on this topic.
TRegExHighlighter.RegExStartStop property

Glossary Item Box

 

Applies to

TRegExHighlighter component

 

Declaration

property RegExStartStop: Boolean;

 

Description

This property controls whether start-stop keys will be searched according to regular expressions algorithm or as strict identifiers.  If set to True, start and stop keys are searched with a regular expressions parsing engine, so that, for example, a start key of "b.?s" will match the following tokens if they appear in TPlusMemo's text:

 

  bs

  bas

  bos

 

If RegExStartStop is False (the default), start-stop keys are found using the conventional algorithm.  So, in the example above, only the sequence "b.?s" would be marked as a start of section.

 

Note that keywords are always matched as regular expressions with TRegExHighlighter.