LRN: Use regexps in logdefs
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:36:34 +0000 (14:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Nov 2011 14:36:34 +0000 (14:36 +0000)
commit317d91ed37b5b85d298ac7d704a5b934cbea9e8a
tree611e7f17a4971269d07febf081116eeedb9f65fc
parent262a695388efa539a23ba82eb2d0187961a4c894
LRN: Use regexps in logdefs

Now "*" is not valid anymore (it's not like anyone had a lot of opportunities
to use it though).
Empty string means ".*", so it's still compatible.
Matching is case-sensitive. ^ and $ match the beginning and the end of
the text, newine matches a newline character.
All regexps are considered non-extended.
Regex compilation errors are not reported in any way (the parsing process just
fails, and that's it).
src/util/common_logging.c