Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > Re: why do both...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 35505 of 37133
Post > Topic >>

Re: why do both lines of code work?!

by Gregor Kofler <usenet@[EMAIL PROTECTED] > May 7, 2008 at 11:17 AM

Geoff Cox meinte:

> Is there any other difference?! I am used to the idea of escaping
> various characters but usually the "\" is required for the code to
> work.

No. / don't need to be escaped. You can, however - as you noticed it 
won't have any effect, except worsening the readability. Masking is 
needed though, when working with regular expressions.

Gregor


-- 
http://photo.gregorkofler.at
::: Landschafts- und Reisefotografie
http://web.gregorkofler.com
 ::: meine JS-Spielwiese
http://www.image2d.com
      ::: Bildagentur für den alpinen Raum
 




 3 Posts in Topic:
why do both lines of code work?!
Geoff Cox <gcox@[EMAIL  2008-05-07 03:27:15 
Re: why do both lines of code work?!
Gregor Kofler <usenet@  2008-05-07 11:17:20 
Re: why do both lines of code work?!
Geoff Cox <gcox@[EMAIL  2008-05-07 11:18:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 2:03:11 CDT 2008.