aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/src/inviso_rt.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-08-09 14:17:44 +0200
committerBjörn Gustavsson <[email protected]>2011-10-26 15:44:00 +0200
commitfe084d5d867de8839385c3652a0f727f97500a0a (patch)
tree2f0916766693421ddc613898689ab63b19b7db8b /lib/runtime_tools/src/inviso_rt.erl
parentef67cd9cf1daa1bca5b9ec65e0ea6721bb0452ed (diff)
downloadotp-fe084d5d867de8839385c3652a0f727f97500a0a.tar.gz
otp-fe084d5d867de8839385c3652a0f727f97500a0a.tar.bz2
otp-fe084d5d867de8839385c3652a0f727f97500a0a.zip
inviso: Eliminate use of deprecated regexp module
Diffstat (limited to 'lib/runtime_tools/src/inviso_rt.erl')
-rw-r--r--lib/runtime_tools/src/inviso_rt.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/src/inviso_rt.erl b/lib/runtime_tools/src/inviso_rt.erl
index ac7ac2a584..b162f5b045 100644
--- a/lib/runtime_tools/src/inviso_rt.erl
+++ b/lib/runtime_tools/src/inviso_rt.erl
@@ -2359,8 +2359,8 @@ list_wrapset(Prefix,Suffix) ->
list_wrapset_2([File|Rest],RegExp) ->
Length=length(File),
- case regexp:first_match(File,RegExp) of
- {match,1,Length} -> % This is a member of the set.
+ case re:run(File,RegExp) of
+ {match,[{0,Length}]} -> % This is a member of the set.
[File|list_wrapset_2(Rest,RegExp)];
_ ->
list_wrapset_2(Rest,RegExp)