Actions
Bug #12256
closedmultiline regex parses '/' in a comment
Description
line 41
line =~ /
foo # bar/baz
/x
Should not parse beyond a bare '#' or the limitation should be documented
Files
Updated by ag4ve (shawn wilson) over 8 years ago
- Description updated (diff)
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Closed
Applied in changeset r54510.
regexp.rdoc: terminators in comments [ci skip]
- doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256]
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Description updated (diff)
No way to know if it will have x
option at reading that '#'.
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: DONE, 2.3: REQUIRED
ruby_2_2 r54697 merged revision(s) 54510.
Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
- Backport changed from 2.1: WONTFIX, 2.2: DONE, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: DONE, 2.3: DONE
ruby_2_3 r54709 merged revision(s) 54510.
Actions
Like0
Like0Like0Like0Like0Like0Like0