mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
2b0fe8070b
commit
3b0e399c03
1 changed files with 1 additions and 1 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue