SCRIPT MERIDIAN
REGEX PROJECT
 

Regex Home

Download

Documentation
 Regex Verbs
 MatchInfo Table

 Metacharacters
  Grouping
  Anchors
  Character Classes
  Frontier Constants
  Quantifiers
  Alternation


Pointers

Credits

 

Frontier Constants

The following three character shortcuts, or Frontier constants, are supported in the regex extension.

Since Frontier recognises these constants, the backslash does not have to be escaped - unlike every other backslash used when passing parameters to the regex engine.

\r carriage return Match the ascii carriage return character

Example
regex.easyMatch ("\r", char (13))
   » true

 
\n line feed Match the ascii line feed character

Example
regex.easyMatch ("\n", char (10))
   » true

 
\t tab Match the ascii tab character

Example
regex.easyMatch ("\t", char (9))
   » true



 [ Previous ]  [ Next  To the top  

Send questions and comments to regex@lists.scriptmeridian.org.
Page last updated: Thu, 10 Dec 1998 22:01:33 GMT.