Project

General

Profile

Actions

Bug #17861

closed

Also `\U` after control/meta should be invalid as well as `\u`

Added by nobu (Nobuyoshi Nakada) almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:103816]

Description

"\c\u0000" is a syntax error but not "\c\U0000".
Same for \C- and \M-.

Actions #1

Updated by nobu (Nobuyoshi Nakada) almost 3 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) almost 3 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

Also available in: Atom PDF

Like0
Like0Like0