Debugging regex of UTF-8 encoding

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Post Reply
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Debugging regex of UTF-8 encoding

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

What's this thread for? I assume it's not a forum suggestion? It's not a snippet neither.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Moved to Regex.
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

:D Thanks feyd for identifying my problem.
Post Reply