diff options
author | Siri Hansen <[email protected]> | 2011-05-13 10:13:29 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-05-13 10:13:29 +0200 |
commit | b1dd3337729aa9340dba45c194c1896944262376 (patch) | |
tree | 9c7ad2938f829ce7c7b6b0b4013d69103f8d47e6 /lib/stdlib/src/filelib.erl | |
parent | de5377beb78d2fc0f0bea964fb9244722492a448 (diff) | |
download | otp-b1dd3337729aa9340dba45c194c1896944262376.tar.gz otp-b1dd3337729aa9340dba45c194c1896944262376.tar.bz2 otp-b1dd3337729aa9340dba45c194c1896944262376.zip |
Bugfix in rb:filter when using 're' (regexp) and 'no'
There was an inconsistency in the filter function, as
filter([{Key,Regexp,re,no}]) did not work in the same way as
filter([{Key,Value,no}])
The first filter only returned 'proplist' reports, while the second
returned *all* reports that didn't match the Value. This has been
corrected so both filters now return all reports that don't match.
Diffstat (limited to 'lib/stdlib/src/filelib.erl')
0 files changed, 0 insertions, 0 deletions