mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 10:34:55 -05:00
first step towards requiring #{ ... } interpolation -- removing naked interps from the compiler.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
sentence = "#{ 22 / 7 } is a decent approximation of π"
|
||||
|
||||
sep = "[.\\/\\- ]"
|
||||
dates = /\d+#sep\d+#sep\d+/g
|
||||
dates = /\d+#{sep}\d+#{sep}\d+/g
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user