W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

Re: RegExp support in WebIDL

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 08 Nov 2012 11:38:46 +1100
Message-ID: <509AFF16.6060602@mcc.id.au>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: public-script-coord@w3.org
Lachlan Hunt:
> Is there any reason to leave RegExp unsupported in WebIDL?

No, it sounds reasonable to have.  I've added it:


Similar to what Garrett pointed out with String.prototype.match, I've 
made conversions to the RegExp type pass the value to the RegExp 
constructor (if the value isn't already a RegExp object).
Received on Thursday, 8 November 2012 00:39:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC