← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 888280] [NEW] reg exp in bans lua

 

Public bug reported:

I tried to use +bannickre and +banmsge in development code, using:

+banmsgre 30 <.*\n.*\n.*> some reason
+bannickre 1440 <.+(?<!(\[DS[1234]\]|\[AK[12]\]))> some reason

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...

** Affects: adchpp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/888280

Title:
  reg exp in bans lua

Status in ADCH++:
  New

Bug description:
  I tried to use +bannickre and +banmsge in development code, using:

  +banmsgre 30 <.*\n.*\n.*> some reason
  +bannickre 1440 <.+(?<!(\[DS[1234]\]|\[AK[12]\]))> some reason

  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 manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/888280/+subscriptions


Follow ups

References