diff options
author | Björn Gustavsson <[email protected]> | 2011-10-27 12:27:33 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-10-27 12:27:33 +0200 |
commit | a971c9568ccebed4e8d00abf52faa59a2bcc1c18 (patch) | |
tree | 1a39c38bce2e27954ea772e80224069b41e5bcd9 /lib/runtime_tools/src/inviso_rt.erl | |
parent | 86e4b23fb4a11f18834e6b1be76642fbd71b9cf7 (diff) | |
parent | 3e8720728abe875683ad54fa4d93ba83df609f57 (diff) | |
download | otp-a971c9568ccebed4e8d00abf52faa59a2bcc1c18.tar.gz otp-a971c9568ccebed4e8d00abf52faa59a2bcc1c18.tar.bz2 otp-a971c9568ccebed4e8d00abf52faa59a2bcc1c18.zip |
Merge branch 'bjorn/eliminate-regexp-usage'
* bjorn/eliminate-regexp-usage:
erl_tidy: Eliminate two references to 'regexp' in the documentation
erts/z_SUITE: Eliminate use of deprecated regexp module
erts/nt_SUITE: Eliminate use of deprecated regexp module
erl_html_tools: Eliminate mention of deprecated regexp module
erl_interface tests: Eliminate use of deprecated regexp module
tools test suite: Eliminate compilation warnings for the eed module
tools test suite: Eliminate use of deprecated regexp module
xmerl test suite: Eliminate use of deprecated regexp module
appmon: Eliminate use of deprecated regexp module
tv: Eliminate use of deprecated regexp module
gs: Eliminate use of deprecated regexp module
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.erl | 4 |
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) |