[Bug 11011] Since Javascript does not support mode specifiers inside the regular expression, there is no simple way of matching a single word case-insensitively besides turning into [Ww][Oo][Rr][Dd]


--- Comment #17 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-11-10 18:29:47 UTC ---
(In reply to comment #16)
> I don't see why.  Perl, PCRE, and Python regular expressions all support
> regular expressions like /abc (?idef)/ to mean /abc [dD][eE][fF]/, i.e.,
> everything inside (?i...) is matched case-insensitively.

Philip` points out that the actual syntax is /abc (?i)def/ or /abc ((?i)def)/. 
But those don't seem to compile in Firefox or Chrome either, so the point

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 10 November 2010 18:29:49 UTC