Page 1 of 1

spamfilter u + warn + regex problem

Posted: Thu Aug 17, 2006 11:05 am
by White_Magic
trying to run a warn regex test, and its telling me the about a incorrect character range. i dont see the problem :)

Code: Select all

[12:02:24] -Buttons.ChatUniverse.net- Error in regex '([a-Z]{2,10})[0-9]{2,}!\1@.+:[a-z]{6}': Invalid character range
ok so i thought the a-z was the problem, highly unlikely but anyway..

Code: Select all

[12:02:52] -Buttons.ChatUniverse.net- Error in regex '([a-Z]{2,10})[0-9]{2,}!\1@.+:[a-Z]{6}': Invalid character range
actually, i forgot the ^ but it still gives me the same error

Code: Select all

[12:06:54] -Buttons.ChatUniverse.net- Error in regex '^([a-Z]{2,10})[0-9]{2,}!\1@.+:[a-Z]{6}': Invalid character range
this is acutally occuring with any action, does it mean my regex is too long? if so how do i over come it?

Posted: Thu Aug 17, 2006 11:23 am
by White_Magic
never mind, i sovled it, the a-Z was the wrong way round lol
sorry n thanks :P