mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
parent
1c81d1a69d
commit
3222c67262
3 changed files with 6 additions and 2 deletions
|
@ -41,7 +41,7 @@ module Bundler
|
|||
HASH_REGEX = /
|
||||
^
|
||||
([ ]*) # indentations
|
||||
(.+) # key
|
||||
([^#]+) # key excludes comment char '#'
|
||||
(?::(?=(?:\s|$))) # : (without the lookahead the #key includes this when : is present in value)
|
||||
[ ]?
|
||||
(['"]?) # optional opening quote
|
||||
|
|
|
@ -41,7 +41,7 @@ module Gem
|
|||
HASH_REGEX = /
|
||||
^
|
||||
([ ]*) # indentations
|
||||
(.+) # key
|
||||
([^#]+) # key excludes comment char '#'
|
||||
(?::(?=(?:\s|$))) # : (without the lookahead the #key includes this when : is present in value)
|
||||
[ ]?
|
||||
(['"]?) # optional opening quote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue