lib/dotenv/parser.rb in dotenv-2.1.2 vs lib/dotenv/parser.rb in dotenv-2.2.0
- old
+ new
@@ -22,10 +22,11 @@
| # or
"(?:\"|[^"])*" # double quoted value
| # or
[^#\n]+ # unquoted value
)? # value end
- (?:\s*\#.*)? # optional comment
+ \s*
+ (?:\#.*)? # optional comment
\z
/x
class << self
attr_reader :substitutions