From: usa@... Date: 2016-08-04T07:14:18+00:00 Subject: [ruby-core:76707] [Ruby trunk Bug#12464][Rejected] URI.regexp should not include comma at the end of string if followed by whitespace Issue #12464 has been updated by Usaku NAKAMURA. Status changed from Closed to Rejected ---------------------------------------- Bug #12464: URI.regexp should not include comma at the end of string if followed by whitespace https://bugs.ruby-lang.org/issues/12464#change-59927 * Author: Nikos Timiopulos * Status: Rejected * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Hello, URI.regexp should not include comma at the end of string if followed by whitespace in my opinion. USE CASES: 1) test string: "http://domain.com, " - URI.regexp matches: "http://domain.com" (without comma) 2) test string: "http://domain.com/?params=21,22,23, " - URI.regexp matches: "http://domain.com/?params=21,22,23," (with comma) The point is some users are typing URLs with comma behind so than links are broken. -- https://bugs.ruby-lang.org/ Unsubscribe: