Top Prev Next Up Down

META character sequences

This shows META character sequences in Regular expressions and what the preprocessor consider to be meta character sequences. In Functions in JesTool all used META characters are listed.

Meta char seq
info.
support
\a
Match a BELL, \u0007 No support
\A
Match at the beginning of the input.
Differs from ^ in that \A will not match
after a new line within the input.
No support
\b
Match a BACK SPACE, \u0008
backspace
\B
Match if the current position is not a word boundary No support
\cX
Match a control-X character No support
\d
Match digits 0 - 9 
Support
\D
Match any character that is not a digit 0 - 9 Support
\e
Match an ESCAPE, \u001B. No support
\E
Terminates a \Q  to \E quoted sequence. No support
\f
Match a FORM FEED, \u000C. form feed
\G
Match if the current position is at the end of
the previous match.
No support
\h
Match a Horizontal White Space character. No support
\H
Match a non-Horizontal White Space character No support
\k
Named Capture Back Reference. No support
\n
Match a LINE FEED, \u000A. line feed
\N{}
Match the named character. No support
\p{}
Match any character with the specified Unicode Property, or is in the specified group ( URV ).
Support
\P{}
Match any character not having the specified Unicode Property or in the specified group ( URV ). Support
\Q
Quotes all following characters until \E. No Support
\r
Match a CARRIAGE RETURN, \u000D. carriage return
\R
Match a new line character, or the
sequence CR LF
No Support
\s
Match a white space character. Support
\S
Match a non-white space character Support
\t
Match a HORIZONTAL TABULATION horizontal tabulation
\uHHHH
Match the character with the
hex value hhhh
hexadecimal value
\U

No support
\vHHHHHH
Match the character with the
hex value hhhhhh but nust be smaller or equal to \v1FFFFF
hexadecimal value
\V
Match a non-new line character. No support
\w
Match a word character. A character in general category L or N, and character '_'
Support
\W
Match a non-word character. A character which is not in general category L or N, and not character '_' Support
\xHH
Match the character with
hex value hh
hexadecimal value
\Z
Match if the current position is at
the end of input, but before the final line
terminator, if one exists
No support
\z
Match if the current position is at the
end of input
No support
\<digits>
Back Reference No support
\Oooo
Match an Octal character. No support

Comments :
  1. Note the difference between Java/C++ implementation and this, \p{<id>} ( \P{<id>} ) is always an identifier but can be GC identifier or Set identifier (Jets.RangeVectorPack.Set_TY.Set see URV's, Classes and MapPools)
  2. Color xxx refers to what the preprocessor is changing (example ExTau)
Most backslash values are not supported. Only green values are supported by this regular expression implementation.