PHP regex optimize -


i've got regular expression match between <anything> , i'm using this:

'@<([\w]+)>@' 

today believe there might better way it?

/ tobias

\w doesn't match said, way, [a-za-z0-9_]. assuming using "everything" in loose manner , \w want, don't need square brackets around \w. otherwise it's fine.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -