Next | Prev | Up | Top | Contents | Index
Regular Expressions
XPG/4 specifies some extensions to traditional regular expression syntax for internationalized software. Few application developers do their own regular expression parsing and matching, however, so we do not include full details here. Briefly, the extensions provide the ability to specify matches based on:
- character class (such as alpha, digit, punct, or space)
- equivalence class (for instance, a, á, à, â, A, Á, À, and  may be equivalent)
- collating symbols (allowing you to match the Spanish ch as one element because it is a single collating token)
- generalization of range specifications of the form [c1-c2] to include the above
If you are processing expressions, see the description of internationalized regular expression grammar in "Using Regular Expressions."
Next | Prev | Up | Top | Contents | Index