jashkenas--coffeescript/documentation/coffee/heregexes.coffee

10 lines
306 B
CoffeeScript
Raw Normal View History

OPERATOR = /// ^ (
?: [-=]> # function
| [-+*/%<>&|^!?=]= # compound assign / compare
| >>>=? # zero-fill right shift
| ([-+:])\1 # doubles
| ([&|<>])\2=? # logic / shift
| \?\. # soak access
| \.{2,3} # range or splat
2010-12-13 02:41:04 +00:00
) ///