W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[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]

From: <bugzilla@jessica.w3.org>
Date: Wed, 10 Nov 2010 18:29:47 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PGFQZ-0005cZ-Py@jessica.w3.org>

--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:01 UTC