X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fos_regex%2FREADME;fp=src%2Fos_regex%2FREADME;h=79960ab03f16789a354e213bb45d92d4baca1b47;hp=f91ed511a750b7c57460e92c52452490eea94f51;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b diff --git a/src/os_regex/README b/src/os_regex/README old mode 100755 new mode 100644 index f91ed51..79960ab --- a/src/os_regex/README +++ b/src/os_regex/README @@ -1,11 +1,5 @@ -OSSEC os_regex 0.3 -Copyright (c) 2004,2005,2006 Daniel B. Cid - - - = OSSEC, os_regex Library. = - Fast and simple library for regular expressions in C. This library is designed to be simple, but support @@ -13,24 +7,21 @@ the most common regular expressions. It was design with intrusion detection systems in mind, where having all options is not crucial, but speed is. - The following expressions are supported: \w -> A-Z, a-z, 0-9 characters \d -> 0-9 characters \s -> For spaces " " - \p -> ()*+,-.:;<=>?[] (pontuation characters) + \p -> ()*+,-.:;<=>?[]!"'#$%&|{} (punctuation characters) \W -> For anything not \w \D -> For anything not \d \S -> For anything not \s \. -> For anything - Each regular expression can be followed by: + -> To match one or more times (eg \w+ or \d+) * -> To match zero or more times (eg \w* or \p*) - We also support the "^" to match at the beginning of the text, '$" to match at the end of the text and "|" to have multiple expressions.