/documentation/coffee/heregexes.coffee
http://github.com/jashkenas/coffee-script · CoffeeScript · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · 9a0086bf49f19e8e018e4e38b7bda927 MD5 · raw file
- OPERATOR = /// ^ (
- ?: [-=]> # function
- | [-+*/%<>&|^!?=]= # compound assign / compare
- | >>>=? # zero-fill right shift
- | ([-+:])\1 # doubles
- | ([&|<>])\2=? # logic / shift
- | \?\. # soak access
- | \.{2,3} # range or splat
- ) ///