Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Javascript Regular Expression Editor (scriptular.com)
33 points by jonmagic on March 5, 2012 | hide | past | favorite | 10 comments


Very cool, but the most useful thing to me about Rubular (which this is inspired by) was the quick reference. Considering the results you get for a google search on "JavaScript Regex", a nice simple table with the basic syntax (and methods) would be very valuable. After that, the fact I can test expressions on the page is just gravy. I can test expressions on any page in the world with Dev Tools.



I had built one that allows to write counter examples also, here an example http://bit.ly/dV4nRg


Bug: line 125 of application.js should read

if (index !== -1) value = value.slice(index + length);


That's cool - a reference would be good as well. I've always used RegExr[1] which combines such documentation really neatly.

1. http://gskinner.com/RegExr/


Quick Reference added.


Cool, although i don't think this will replace http://regexpal.com/ as my favourite regex tester.


I used to use regexpal, till i discovered this: http://gskinner.com/RegExr/, i'm using it for months without any problems.


I made this to test my regex skills: http://wubwub.nl/stufff/regex.php


Just added Quick Reference, thanks for the feedback!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: