Skip to content

Commit

Permalink
allow newlines in EnvHash values
Browse files Browse the repository at this point in the history
  • Loading branch information
nolta committed Mar 2, 2012
1 parent 5bb077d commit 455b3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion j/env.j
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function next(::EnvHash, i)
error("environ: index out of range")
end
env::ByteString
m = match(r"^(.*?)=(.*)$", env)
m = match(r"^(.*?)=(.*)$"s, env)
if m == nothing
error("malformed environment entry: $env")
end
Expand Down

0 comments on commit 455b3c4

Please sign in to comment.