new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / os_regex / README
1 = OSSEC, os_regex Library. =
2
3 Fast and simple library for regular expressions in C.
4
5 This library is designed to be simple, but support
6 the most common regular expressions. It was design
7 with intrusion detection systems in mind, where having
8 all options is not crucial, but speed is.
9
10 The following expressions are supported:
11     \w  ->  A-Z, a-z, 0-9 characters
12     \d  ->  0-9 characters
13     \s  ->  For spaces " "
14     \p  ->  ()*+,-.:;<=>?[]!"'#$%&|{} (punctuation characters)
15     \W  ->  For anything not \w
16     \D  ->  For anything not \d
17     \S  ->  For anything not \s
18     \.  ->  For anything
19
20 Each regular expression can be followed by:
21
22     +  ->  To match one or more times (eg \w+ or \d+)
23     *  ->  To match zero or more times (eg \w* or \p*)
24
25 We also support the "^" to match at the beginning of the text,
26 '$" to match at the end of the text and "|" to have multiple
27 expressions.