◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── A regular expression (sometimes called a "pattern") is a find string that uses special characters to match patterns of text. You can use regular expressions to find patterns such as five-digit numbers or strings in quotation marks. Selected portions of text found by using a regular expression can be used in a replacement. In PWB you can specify regular expressions in two ways: UNIX syntax and non-UNIX syntax. UNIX regular expressions have a syntax similar to regular expressions in the UNIX and XENIX operating systems. A subset of this syntax is used in the CodeView debugger. See: ◄UNIX Regular Expressions► Non-UNIX regular-expression syntax has the features of UNIX regular expressions, plus additional features, and uses a more compact syntax. See: ◄Non-UNIX Regular Expressions► The Unixre switch determines whether PWB uses UNIX or non-UNIX regular expressions in searches. PWB switches that accept regular expressions, such as Build and Word, always use UNIX syntax. See: Build, Unixre, Word See ◄UNIX Regular Expression Summary► ◄Non-UNIX Regular Expression Summary► ◄Tagged Regular Expressions► ◄Tagged Expressions in Build:Message► ◄Aligning Tagged Expressions► ◄Predefined Regular Expressions► -♦-