Collating elements

Top  Previous  Next

Scripts > Token definitions > Regular expressions > Locale dependant features > Collating elements

 

An expression of the form [[.col.]] matches the collating element col. A collating element is any single character, or any sequence of characters that collates as a single unit. Collating elements may also be used as the end point of a range, for example: [[.ae.]-c] matches the character sequence "ae", plus any single character in the range "ae"-c, assuming that "ae" is treated as a single collating element in the current locale.

Collating elements may be used in place of escapes (which are not normally allowed inside character sets), for example [[.^.]abc] would match either one of the characters 'abc^'.

As an extension, a collating element may also be specified via its symbolic name, for example:

 

[[.NUL.]]

 

 

matches a NUL character.



This page belongs to the TextTransformer Documentation

Home  Content  German