8 Practical PHP Regular Expressions
View Single Post
03-19-2008, 11:13 PM
Join Date: Dec 2007
Location: Bucharest, Romania
I just used 0-9 instead of \d purely out of habit (and for consistency, I might add). \d and [0-9] are the same thing. Doesn't really matter which one of them you're using. I think the regex engine would have to first find the character group related to \d before matching, but that's fantasy already.
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon