1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/js/interpolation_expression.js
2010-10-24 21:50:34 -04:00

4 lines
No EOL
142 B
JavaScript

var dates, sentence, sep;
sentence = "" + (22 / 7) + " is a decent approximation of π";
sep = "[.\\/\\- ]";
dates = /\d+#{sep}\d+#{sep}\d+/g;