Pattern Matching

Opie provides pattern matching using regular expressions or wildcards.
It supports unicode and character sets.

Regular Expressions

Regular Expressions knows these primitives:

wildcard mode

In wildcard mode, it only knows four primitives:

General

It supports Unicode both in the pattern strings and in the strings to be matched.

A character set matches a defined set of characters. For example, [BSD] matches any of 'B', 'D' and 'S'. Within a character set, the special characters '.', '*', '?', '^', '$', '+' and '[' lose their special meanings. The following special characters apply:

Thus, [a-zA-Z0-9.] matches upper and lower case ASCII letters, digits and dot; and [^\s] matches everything except white space.

Bugs and limitations:



Taken from the Qt Documentation.
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.