reg exp in bans lua
Bug #888280 reported by
Pirre
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ADCH++ |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I tried to use +bannickre and +banmsge in development code, using:
+banmsgre 30 <.*\n.*\n.*> some reason
+bannickre 1440 <.+(?<!
As in the above example, I want to ban people writing multi-newline messages and force a certain username format. In my opinion and according to ADCH++ documentation, those regular expressions should work, but they don't. How can i use regular expressions in this functions properly? I also tried with Lua patterns, to no effect. Please tell me how can I use those functions...
To post a comment you must log in.
shewing my previous comment, seems that re is based on the lua string. match(patern) if so this is a bug so changing it to a bug
ps lua regexp http:// www.wowpedia. org/Pattern_ matching seems to work, ifi am wrong someone correct me please ....