From: nagachika00@... Date: 2016-04-22T14:47:19+00:00 Subject: [ruby-core:75133] [Ruby trunk Bug#12256] multiline regex parses '/' in a comment Issue #12256 has been updated by Tomoyuki Chikanaga. 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. ---------------------------------------- Bug #12256: multiline regex parses '/' in a comment https://bugs.ruby-lang.org/issues/12256#change-58265 * Author: shawn wilson * Status: Closed * Priority: Normal * Assignee: * ruby -v: >1.9 * Backport: 2.1: WONTFIX, 2.2: DONE, 2.3: DONE ---------------------------------------- line 41 ```ruby line =~ / foo # bar/baz /x ``` Should not parse beyond a bare '#' or the limitation should be documented ---Files-------------------------------- t.rb (2.33 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: