diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2013-03-04 06:49:32 -0800 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2013-03-04 06:49:32 -0800 |
commit | a9cb38e6d13546775b0c726a3d6a16a82ecf807b (patch) | |
tree | f5170b886d4091fe663ef71b535763170a4f665a | |
parent | c77f8e13cafc5913b417c9c3845abfe49f87655d (diff) | |
parent | fb77295a1f2942ee803477ae85ab8306337c42a1 (diff) |
Merge pull request #68 from nevar/fix_unicode_promt
Fix unicode
-rw-r--r-- | src/rebar_utils.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index bb58460..fd93f98 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -195,7 +195,7 @@ expand_env_variable(InStr, VarName, RawVarValue) -> %% Use a regex to match/replace: %% Given variable "FOO": match $FOO\s | $FOOeol | ${FOO} RegEx = io_lib:format("\\\$(~s(\\s|$)|{~s})", [VarName, VarName]), - ReOpts = [global, {return, list}], + ReOpts = [global, {return, list}, unicode], re:replace(InStr, RegEx, [VarValue, "\\2"], ReOpts) end. |