{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":["devel/p5-Attribute-Handlers","lang/perl5.42"],"categories":["devel","perl5"],"comment":"Match hash keys using Regular Expressions","compare":null,"dependentCount":null,"description":"Someone asked on Perlmonks if a hash could do fuzzy matches on keys - this\nis the result.\n\nIf there's no exact match on the key that you pass to the hash, then the\nkey is treated as a regex and the first matching key is returned. You can\nforce it to leap straight into the regex checking by passing a qr'ed regex\ninto the hash like this:\n\n  my $val = $h{qr/key/};\n\nexists and delete also do regex matching. In the case of delete all values\nmatching your regex key will be deleted from the hash.","flavors":[],"html":"https://daemonports.org/devel/p5-Tie-Hash-Regex/","kind":"port","lastUpdate":null,"license":["ART10","GPLv1+"],"maintainer":"perl@FreeBSD.org","name":"p5-Tie-Hash-Regex","newest":true,"newestVersion":"1.14","noVulnData":false,"origin":"devel/p5-Tie-Hash-Regex","otherSystems":[{"maintainer":"perl@FreeBSD.org","newest":true,"origin":"devel/p5-Tie-Hash-Regex","path":"/dragonfly/devel/p5-Tie-Hash-Regex/","system":"DragonFly","version":"1.14"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Tie-Hash-Regex","path":"","system":"HardenedBSD","version":"1.14"},{"maintainer":"perl@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/p5-Tie-Hash-Regex","path":"","system":"GhostBSD","version":"1.14"}],"packages":[{"repo":"FreeBSD:14:latest","versions":["1.14","1.14","1.14","1.14","1.14"]},{"repo":"FreeBSD:14:quarterly","versions":["1.14","1.14","n/a","1.14","1.14"]},{"repo":"FreeBSD:15:latest","versions":["1.14","1.14","n/a","1.14","1.14"]},{"repo":"FreeBSD:15:quarterly","versions":["1.14","1.14","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:latest","versions":["1.14","1.14","n/a","n/a","n/a"]},{"repo":"FreeBSD:16:quarterly","versions":["n/a","n/a","n/a","n/a","n/a"]}],"pkgName":"p5-Tie-Hash-Regex-1.14","related":null,"repository":"FreeBSD ports","requiredBy":[],"requiredByCount":0,"runDepends":["devel/p5-Attribute-Handlers","lang/perl5.42"],"status":null,"system":"freebsd","systemLabel":"FreeBSD","version":"1.14","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Tie-Hash-Regex"}
