Actions
Bug #17861
closedAlso `\U` after control/meta should be invalid as well as `\u`
    Bug #17861:
    Also `\U` after control/meta should be invalid as well as `\u`
  
Description
"\c\u0000" is a syntax error but not "\c\U0000".
Same for \C- and \M-.
        
           Updated by nobu (Nobuyoshi Nakada) over 4 years ago
          Updated by nobu (Nobuyoshi Nakada) over 4 years ago
          
          
        
        
      
      - Status changed from Open to Closed
Applied in changeset git|110f242ef9b495037f59e4972ee102a8b8b372d5.
Also \U after control/meta is invalid [Bug #17861]
As well as \u, \U should be invalid there too.
And highlight including u/U not only the backslash before it.
        
           Updated by nagachika (Tomoyuki Chikanaga) over 4 years ago
          Updated by nagachika (Tomoyuki Chikanaga) over 4 years ago
          
          
        
        
      
      - Backport changed from 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE
ruby_3_0 af9de56c6fde7f9adb81d6ed0ef3067af81f90e5 merged revision(s) 110f242ef9b495037f59e4972ee102a8b8b372d5.
Actions