<regexp>

Description

Specifies a list of searchPattern tags.

Attributes

name, id, delimiter, escape

  • name="stringStart_name" A string that assigns a name to the list of search pattern strings.
  • id="id_string" Required. An identifier string that maps color and style to this syntax item.
  • delimiter The character or string that starts and ends a regular expression.
  • escape The character or string that signals special character processing, known as the "escape" character or string.

Contents

<searchPattern></searchPattern>

Example

<regexp name="RegExp" id="CodeColor_JavascriptRegexp" delimiter="/" escape="\\"> <searchPattern><![CDATA[(\s*/\e*\\/]]></searchPattern> <searchPattern><![CDATA[=\s*/\e*\\/]]></searchPattern></regexp>