Dieter Rauschenberger dr@d-ra.de wrote:
I changed the Matche() function in match.c to work with REGCOMP(3) (regular expressions). This adds several possibilities in the conf file. Now you can write something like:
[Operator] Mask = d-?ra[0-9x]?!~?d-?ra@.*.d-ra.net
The default Mask had to be changed slightly:
Mask = .*!ident@somewhere\.example\.com
Another advantage: The source code is much more shorter! Keep it as simple as possible - but not simpler!
I Agree, but recomp treats several special characters differently. Matche() is also used for ban and invite lists -- your patch breaks this:
20:00 -!- mode/#bla [+b *!*@localhost] by test 20:00 -!- fw [~me@localhost] has joined #bla
Florian