A..1 Summary of regular expression syntax

At the character level, CQP supports regular expressions using one of two regex libraries:

CWB 3.0: Uses POSIX 1003.2 regular expressions (as provided by the system libraries). A full description of the regular expression syntax can be found on the regex(7) manpage.

CWB 3.5: Uses PCRE (Perl Compatible Regular Expressions). A full description of the regular expression syntax can be found on the pcrepattern(3) manpage; see also http://www.pcre.org/.

Various books such as Mastering Regular Expressions give a gentle introduction to writing regular expressions and provide a lot of additional information. There are also many tutorials to be found online using Your Favourite Web Search EngineTM.