Welcome Guest, Not a member yet? Register   Sign In
form validation regex_match not working
#1

[eluser]cyberjunkie[/eluser]
I'm using the following regex

Code:
regex_match[([01]?[0-9]|2[0-3]):00:00]

when setting validation rules and get

Quote:Message: preg_match() [function.preg-match]: No ending matching delimiter ')' found

Filename: libraries/Form_validation.php

Line Number: 911

I'm not very experienced with regex, why am I getting the error? Please help.




Theme © iAndrew 2016 - Forum software by © MyBB