Forum

Results 1 to 3 of 3
  1. #1
    Join Date
    December 2010
    Location
    United Kingdom
    Posts
    324

    Exclamation [Suggestion] Improve Regular expression

    Hello Dear Developers !

    Today no solution for my regular expression, that's why i write here the suggestion and maybe someone from developers will tell me how resolve the problem or improve the function regular expression in new version of server.

    My Regular Expression Ban:
    (.*)[!"#$%&'()*+,\-./:;<=>[email protected][\\\]^_`{|}~](.*)
    - Block all 'Punctuation and symbols' but i would allow from Polish alphabet the special signs: [ ąćęłńśźżĄĆĘŁŃŚŹŻ ] the regular expression just block the signs Polish, i did negate expression and nothing work. !

    Negate Regular Expression what i tried and normally it should work but it didn't:
    (.*)~[0-9a-zA-ZąćęłńśźżĄĆĘŁŃŚŹŻ](.*)

    Why i can't use the functions in Regular Expression i mean type that command into ban list:

    [[:alpha:]]
    [[:alnum:]]
    [[:digit:]]
    [[:xdigit:]]
    [[:lower:]]
    [[:upper:]]
    [[:punct:]]


    My suggestion is add this, and add the [exception/negate] function for Regular Expression.

    Best Regards
    Mateusz Gladosz

  2. #2
    Join Date
    June 2012
    Location
    Portugal
    Posts
    317
    I think it is like this:

    (.*)[^[0-9a-zA-ZąćęłńśźżĄĆĘŁŃŚŹŻ]*](.*)

    http://www.rubular.com/r/NM9zObUG50 <- Try other test strings

  3. #3
    Join Date
    December 2010
    Location
    United Kingdom
    Posts
    324
    Quote Originally Posted by barricas View Post
    I think it is like this:

    (.*)[^[0-9a-zA-ZąćęłńśźżĄĆĘŁŃŚŹŻ]*](.*)

    http://www.rubular.com/r/NM9zObUG50 <- Try other test strings
    Doesn't work with teamspeak 3 ban list with function Regular Expression, still wait for answer from Developer of ts3.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Regular Expression / Wildcard / Fixed String- Explained - Please?
    By squirrelof09 in forum General Questions
    Replies: 3
    Last Post: May 11th, 2018, 08:36 PM
  2. Replies: 3
    Last Post: October 24th, 2013, 04:25 PM
  3. How Ban name of channel by regular expression ?
    By hunterpl in forum General Questions
    Replies: 1
    Last Post: July 23rd, 2012, 06:13 PM
  4. [Suggestion] Improve List of All clients window abilities
    By Pherun in forum Suggestions and Feedback
    Replies: 4
    Last Post: October 1st, 2011, 07:38 PM
  5. Ban by regular expression doesn't work
    By Slater in forum General Questions
    Replies: 15
    Last Post: July 20th, 2010, 02:17 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •