diff options
author | Guillem Jover <guillem@debian.org> | 2013-11-08 05:09:52 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-11-24 05:48:17 +0100 |
commit | 5ae4ce9c2dfddbb36e2e0fc24dde3a27196f00f1 (patch) | |
tree | c14f42031004268315ccbe75c1b117c8aae8a828 /scripts/Dpkg/Index.pm | |
parent | 16f9bd122b8a1e0ed8d6ce88cc57bd73ae829a03 (diff) | |
download | dpkg-5ae4ce9c2dfddbb36e2e0fc24dde3a27196f00f1.tar.gz |
Consistently use regex instead of regexp when possible
All changed instances are documentation or private code interfaces.
The only remaining variable instance with a regexp name is a publicly
exposed variable, which will eventually disappear once it has gone
through the deprecation process.
Diffstat (limited to 'scripts/Dpkg/Index.pm')
-rw-r--r-- | scripts/Dpkg/Index.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Index.pm b/scripts/Dpkg/Index.pm index a0a82a5b1..715be6a7b 100644 --- a/scripts/Dpkg/Index.pm +++ b/scripts/Dpkg/Index.pm @@ -208,7 +208,7 @@ sub get_by_key { =item my @keys = $index->get_keys(%criteria) Returns the keys of items that matches all the criteria. The key of the -%criteria hash is a field name and the value is either a regexp that needs +%criteria hash is a field name and the value is either a regex that needs to match the field value, or a reference to a function that must return true and that receives the field value as single parameter, or a scalar that must be equal to the field value. |