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


Vegard Larsen <vegard@xaltra.net> changed:

           What    |Removed                     |Added
           Keywords|                            |TrackerRequest
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #11 from Vegard Larsen <vegard@xaltra.net> 2010-10-19 06:24:44 UTC ---
(In reply to comment #10)
> Do we even know if this is something that TC39 is working on? Is anyone here
> prepared to bring forward such a proposal to them?
> Just want to make sure that we're not relying on a purely theoretical feature.

There are no current (public) proposals of this nature on the TC39 wiki. There
are however other extensions/changes to the regular expression syntax being


I feel it is important to reiterate that this issue only arises because we are
using partial regular expressions for the pattern attribute.

Explaining how to match a word (or worse, a sentence) case-insensitively to
someone with little experience with regular expressions would be immensely
complicated with the draft as is. 

Not even to mention how cumbersome it would be to implement something like
"type this sentence to let us know you really want to do this" that is common
for digital signatures in some places.

I am escalating this issue to the WG.

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 Tuesday, 19 October 2010 06:24:50 UTC