diff options
author | Björn Gustavsson <[email protected]> | 2011-08-25 12:08:29 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-10-26 15:44:01 +0200 |
commit | 9e034e51ca0f051b62e389545b3f5a56b9cec393 (patch) | |
tree | 1ad14bcbffcf9f9bbec5a12a4b64b01fe440b536 /lib/gs/src/tool_utils.erl | |
parent | fe084d5d867de8839385c3652a0f727f97500a0a (diff) | |
download | otp-9e034e51ca0f051b62e389545b3f5a56b9cec393.tar.gz otp-9e034e51ca0f051b62e389545b3f5a56b9cec393.tar.bz2 otp-9e034e51ca0f051b62e389545b3f5a56b9cec393.zip |
gs: Eliminate use of deprecated regexp module
Diffstat (limited to 'lib/gs/src/tool_utils.erl')
-rw-r--r-- | lib/gs/src/tool_utils.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gs/src/tool_utils.erl b/lib/gs/src/tool_utils.erl index b07e92c4f0..d09af5f22f 100644 --- a/lib/gs/src/tool_utils.erl +++ b/lib/gs/src/tool_utils.erl @@ -98,7 +98,8 @@ open_help_default(Parent, File) -> _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\"" end; {win32,_AnyType} -> - "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/"); + "netscape.exe -h " ++ + re:replace(File,"\\\\","/",[global,{return,list}]); _Other -> unknown end; |