From: nobu@... Date: 2016-04-07T10:06:33+00:00 Subject: [ruby-core:74839] [Ruby trunk Bug#12256] multiline regex parses '/' in a comment Issue #12256 has been updated by Nobuyoshi Nakada. Description updated No way to know if it will have `x` option at reading that '#'. ---------------------------------------- Bug #12256: multiline regex parses '/' in a comment https://bugs.ruby-lang.org/issues/12256#change-57972 * Author: shawn wilson * Status: Closed * Priority: Normal * Assignee: * ruby -v: >1.9 * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- 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: