regular expression

The <regular expression> inspectors let you use regular expressions (a.k.a regexes) in relevance statements. On Windows, the regex inspectors use the Boost library implementation, which supports the 'POSIX-Extended regular expression' syntax. See this page for more info. On other operating systems, the regex inspectors use a native library instead of the Boost library. For this reason, we recommend writing 'POSIX-compliant regular expressions', so that they work across different operative systems. POSIX defines a set of character classes, marked with the syntax '[:className:]', that can be used within brackets (i.e. '[[:className:]]') to match a character of that class. For example, you can write '[[:alpha:]]' to match alphabetic characters, '[[:digit:]]' to match digits, and '[[:space:]]' to match whitespaces. At this page you can find a table with equivalent character classes

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows
8.1.535.0 Debian, Ubuntu Raspbian


case insensitive regex <string> : regular expression
case insensitive regular expression <string> : regular expression
regular expression <string> : regular expression


<string> starts with <regular expression> : boolean