un-flag-protected regex field-type support
restructured for easy clean-up on failed regex field-type init
support for:
- regex type (ERE/BRE)
- which group to consume (from begining of the input to the end of that group will be considered parsed)
- which group to return as matched content
moved from regex to pcre because of confusion/wierdness in handling of sub-matches
moved from regex to pcre because of confusion/wierdness in handling of sub-matches
fixed a bug with regex field-args parsing + added more tests (for invalid and consume-less-than-returned case)
killed regexp _type_, using as pcre defaults to has posix extended and does not seem to have the same basic mode as glibc
added some tests for regex with negation
added a few tests for tokenized field-type
added a bunch of tests for both regex and tokenized field-types + added enableRegex flag to ln_ctx which enables/disables use of regex based fields (such a flag is required because regex is perf-sensitive and it will allow us to warn the users when they look at documentation for enableRegex flag, it is kept disabled by default because of perf-sensitivity)
added docs for regex field-type
added compatibility layer which allows liblognorm to work with older versions of json-c (eg. 0.9, which debian squeeze uses)