- From: gaz Heyes <gazheyes@gmail.com>
- Date: Mon, 27 Sep 2010 12:26:20 +0100
- To: "public-web-security@w3.org" <public-web-security@w3.org>
Received on Monday, 27 September 2010 11:26:54 UTC
Hi all I'd just thought I'd share my post on JavaScript string.replace behaviour. < http://www.thespanner.co.uk/2010/09/27/string-replace-javascript-bad-design/ > I consider the function to be badly designed (although an excellent function overall). I've provided a JavaScript patch until (if ever) browsers change it's behaviour. I also consider Mozilla's third argument a really bad idea as this unsupported by the other browsers at this time and adding flags just seems pretty messy and adds to the confusion. Cheers Gareth
Received on Monday, 27 September 2010 11:26:54 UTC