From 3b0e399c0338a2c7570b34b805b8ced90201850b Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 11 May 2010 04:49:56 +0000 Subject: [PATCH] * lib/uri/mailto.rb: clean up regexp [ruby-core:29894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/mailto.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb index 240c849e9a..3edaac93f3 100644 --- a/lib/uri/mailto.rb +++ b/lib/uri/mailto.rb @@ -38,7 +38,7 @@ module URI # hvalue = *urlc # header = hname "=" hvalue HEADER_PATTERN = "(?:[^?=&]*=[^?=&]*)".freeze - HEADER_REGEXP = Regexp.new(HEADER_PATTERN, 'N').freeze + HEADER_REGEXP = Regexp.new(HEADER_PATTERN).freeze # headers = "?" header *( "&" header ) # to = #mailbox # mailtoURL = "mailto:" [ to ] [ headers ]