Skip to content

Commit

Permalink
Fix PCRE issues
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Oct 3, 2014
1 parent 2abb59b commit 46bdd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/regex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Regex

function Regex(pattern::String, options::Integer)
pattern = bytestring(pattern)
options = uint32(options)
options = int32(options)
if (options & ~PCRE.OPTIONS_MASK) != 0
error("invalid regex options: $options")
end
Expand Down

0 comments on commit 46bdd59

Please sign in to comment.