{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"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/dragonfly/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":"/devel/p5-Tie-Hash-Regex/","system":"FreeBSD","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":null,"pkgName":"p5-Tie-Hash-Regex-1.14","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":["devel/p5-Attribute-Handlers","lang/perl5.36"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"1.14","versions":null,"vulnerabilities":null,"www":"https://metacpan.org/release/Tie-Hash-Regex"}
