[thelist] Error in regular expression on IE for Mac

Simon Dell simondl at epic.co.uk
Tue Feb 5 05:04:01 CST 2002


>
>My expression looks like this:
>var re                  = /(.)\1\1+/g;

does this work:
var re = /(.){3,}/g;


the {3,} meaning "match preceding item three or more times" or something
similar.

perhaps the MAC implementation of JS doesn't like "one or more" of a
backreference?





More information about the thelist mailing list