[thelist] differences in javascript regexp among browsers?

Diane Soini dianesoini at earthlink.net
Wed Feb 16 21:36:19 CST 2005


I'm really getting bummed out by the differences in how browser do 
certain regular expression and string functions in javascript. I seem 
to get different results from regexp.exec(string) and 
string.split(regexp) in different browsers. Some browsers return more 
items in the array than others.

Any suggestions on the best way to find and extract matches on strings, 
split strings, etc that don't cause unexpected problems?



More information about the thelist mailing list