Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Escaping regular expression characters in JavaScript (updated). The JavaScript regular expression meta-character escaping code I posted back in 2006 has some serious flaws—I’ve just posted an update to the original post.

Tagged , ,

30 comments

  1. With all these silly websites, such a great page keeps my intenret hope alive.

    Rosie - 16th August 2011 10:53 - #

  2. this site is very nice Thesis Writing Service

    sonia - 19th September 2011 10:11 - #

  3. well i did on easycap

    easycap driver - 3rd October 2011 15:47 - #

  4. can we just escape the expression characters? IT support australia

    edwin - 6th October 2011 06:16 - #

  5. Good update to what was an already really good post. Turbulence Training Review | Xtreme Fat Loss Diet Review

    todd hamilton - 6th October 2011 22:19 - #

  6. Good update to what was an already really good post. Turbulence Training Review | Xtreme Fat Loss Diet Review

    todd hamilton - 6th October 2011 22:19 - #

  7. Thank you so much for sharing this with people like me who really do not know much about the topic. Banquetes

    simmi - 12th October 2011 08:07 - #

  8. Long term goal Thanks for this. Long term goals and achieving your Fitness Goals made easy.

    goal setting - 12th October 2011 10:36 - #

  9. Thanks for your sharing. I will necessarily add it in the selected works and I will visit this site. curly hair

    sonia - 13th October 2011 11:30 - #

  10. To near a stereoscopic shift image,radio city rockettes tickets two images are likely superimposed onto the same screen through round polarizing filters of differing handedness.radio city christmas spectacular tickets

    William - 14th October 2011 06:00 - #

  11. hi this is yana and i am first time to visiting on this site and this site is totally tremendous to us because all post are nice.thanks for it.FXCM

    yana - 14th October 2011 10:16 - #

  12. I certainly enjoyed the way you explore your experience and knowledge of the subject! Keep up on it. Thanks for sharing the info..! Cell Phone Spy

    angela - 16th October 2011 10:43 - #

  13. Thanks for this very useful info you have provided us. I will bookmark this for future reference and refer it to my friends. More power to your blog besplatni oglasi

    hatim - 21st October 2011 07:35 - #

  14. Thanks a lot for this beauty Enjoying article with me. I am Appreciating it very much! Looking Forward to Another Great. nostradamus

    rythm - 22nd October 2011 07:13 - #

  15. good site and great article. reiser hammerfest

    yana - 24th October 2011 05:55 - #

  16. Nice post. reiser hammerfest

    lamba - 24th October 2011 05:56 - #

  17. Another great example of innovation, I am glad to find it. There are so many developers working on this segment but this is one of the best innovative idea ever. Thanks for sharing it here. Georgia Health Insurance

    flapwer - 26th October 2011 04:38 - #

  18. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! all the best! physical therapy assistant online

    physical therapy assistant online - 26th October 2011 17:42 - #

  19. I have found this blog on google,while i was searching for exactly like above information, and found this blog with great information.Really it helped me a lot.Thanks for sharing such wonderful post.

    Link Building Services - 29th October 2011 11:52 - #

  20. This is very much enjoyed for the great technology is visible in this blog that to several interesting info is visible in this blog that to sharing the nice approach is visible in this blog.

    Ultrasound technician - 29th October 2011 12:06 - #

  21. A great site to visit, the information provided is very useful. Thanks a lot for providing us with such useful information. We are looking for more updates

    Ultrasound tech - 31st October 2011 07:57 - #

  22. Thanks a lot for providing the nice info is visible in this blog that to using the great services in this blog.

    Online associate degree - 31st October 2011 10:41 - #

  23. I am very much happy for using the nice services in this blog that to using the amazing technology is visible in this blog.

    Online associate degree - 31st October 2011 11:19 - #

  24. I am very much happy for the great approach is visible in this blog that to sharing the amazing info is display in this blog. This info is very interesting that to display the concept wise in this blog.

    Veterinary technicians - 31st October 2011 11:50 - #

  25. The post is written in very a good manner and it entails many useful information for me. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. Shutters Toronto

    Groundless - 1st November 2011 05:47 - #

  26. I am glad to visit your blog.. I found this post is really useful one.. Mottak

    Thomas56 - 1st November 2011 11:58 - #

  27. Calling the exec() function also changes the lastIndex property of the RegExp object. It stores the index in the subject string at which the next match attempt will begin. You can modify this value to change the starting position of the next call to exec(). graduate school personal statement

    jimmy92 - 4th November 2011 10:14 - #

  28. It was intentionally tricky for the sake of brevity. If you’re not familiar with the exec method, you can read about it at the Mozilla Developer Center. <a href="http://phoenixvalleyautoglass.com/">Auto Glass Repair Phoenix</a>

    sonu - 5th November 2011 20:32 - #

  29. Thank you for updating the original post for us. If you didn't bother to point out the flaws on the JavaScript regular expression meta-character escaping code you posted way back in 2006, I wouldn't have notice it. <a href="http://www.performanceappraisalreview.net">e mployee performance appraisal</a>

    employee performance appraisal - 6th November 2011 22:51 - #

  30. This is actually satisfied through the great info is seen within this blog that to greatly information within this blog. Thanks for supplying the truly amazing info is seen within this blog and taking advantage of the truly amazing technology within this blog.

    culinary arts information - 9th November 2011 12:27 - #

Comments are closed.
A django site