mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
4 lines
No EOL
179 B
JavaScript
4 lines
No EOL
179 B
JavaScript
var dates, sentence, sep;
|
|
sentence = ("" + (22 / 7) + " is a decent approximation of π");
|
|
sep = "[.\\/\\- ]";
|
|
dates = (new RegExp("\\d+" + (sep) + "\\d+" + (sep) + "\\d+", "g")); |