[ANNOUNCE] London Javascript Night - May 25th

Jonathan Stowe jns at gellyfish.com
Thu Apr 27 16:12:17 BST 2006


On Thu, 2006-04-27 at 15:44, Dominic Mitchell wrote:
> On Thu, Apr 27, 2006 at 01:37:39PM +0100, Jonathan Peterson wrote:

> > 
> > inspect: function() { 
> >         return "'" + this.replace(/\\/g, '\\\\').replace(/'/g, '\\\'') + 
> > "'"; 
> > }
> 
> Wow.  Looks like Perl.  I thought he was aiming for Ruby.  :-)
> 

Pfft they're not trying

        args[0].Replace("(",@"\(").Replace("OR",@"\OR").Replace(")",@"\)")

which is supposed to be an even *more* modern language.  

/J\
-- 

This e-mail is sponsored by http://www.integration-house.com/



More information about the london.pm mailing list