On Feb 2, 7:19 pm, Marius Feraru <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> RobG wrote:
> > var re = new RegExp( '<script.*[^(<script)]*<\\/script>','g' );
>
> If you're thinking "[^(<script)]" means "not '<script'", you're wrong,
> it means "not any of '(', '<', 's', 'c', 'r', 'i', 'p', 't', ')'".

Ha, you're right! Serves me right for rushing that one as I headed
out. :-x


--
Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to