Page 1 of 1

Debugging regex of UTF-8 encoding

Posted: Thu Jan 04, 2007 6:49 am
by dude81
I dont know this is right place or not.
Im talking about the regular expressions on strings of utf-8 encoding which are not displayed on browser when you execute results.
It shall be hard to debug such a regex. I've struggled it for long and finally found a way(probably many must have known to this,but this is a problem when somebody initially works on them they go dumb as I've gone).
Get the parsed regular expression and put it an sql query and run it. One will know the results easily. I mean how your regular expressions is being parsed

Posted: Thu Jan 04, 2007 7:31 am
by Chris Corbyn
What's this thread for? I assume it's not a forum suggestion? It's not a snippet neither.

Posted: Thu Jan 04, 2007 10:27 am
by feyd
Moved to Regex.

Posted: Thu Jan 04, 2007 11:53 pm
by dude81
:D Thanks feyd for identifying my problem.