Skip to content

Ruby: fix %W, dot member, some parenthesis ; add ?c, escape char, etc

I wonder if we can change the license to MIT? There are some similarities, but almost everything has been changed.


  • fix ( in test(if ...) (should be Normal Text, not Keyword)
  • fix exponent number (1e3)
  • fix constants followed by ? or ! (they are not constants)
  • fix some context that expects values (regex in def foo() /reg/...)
  • fix percent literal with _ as separator (%_..._)
  • fix %W literal
  • add %s literal
  • add ?c literal
  • add 0dnnn literal
  • add 0Onnn literal
  • add 'Number Suffix' style: 123r, 123i and 123ri
  • add 'String Char' style for escaped sequence: \xHH, \unnnnn, etc

BUG: 488014

Edited by jonathan poelen

Merge request reports

Loading