Regular Expressions in CoffeeScript are Awesome!

added by elijahmanor
2/8/2012 10:02:47 AM

3 Kicks, 314 Views

Let's face it, regular expressions aren't for everyone. It takes a special breed of developer to actually enjoy writing regular expressions. Although I enjoy them, the developer that comes after me may find that they are cryptic and hard to read ... One of the very cool things I like about CoffeeScript is that you can annotate your regular expressions!


1 comments

dpeterson
2/8/2012 11:36:46 AM
Never thought about doing it that way, one of the advantages to a whitespace-significant parser.