From 921360760b4db429460be7429eb43d9556b433b3 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 30 Oct 2021 13:44:34 +0000 Subject: [PATCH] document (hopefully) near future directions --- usr.sbin/pkg_add/OpenBSD/Search.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/Search.pm b/usr.sbin/pkg_add/OpenBSD/Search.pm index d9da595a318..9c201100e0f 100644 --- a/usr.sbin/pkg_add/OpenBSD/Search.pm +++ b/usr.sbin/pkg_add/OpenBSD/Search.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Search.pm,v 1.31 2020/02/19 14:22:29 espie Exp $ +# $OpenBSD: Search.pm,v 1.32 2021/10/30 13:44:34 espie Exp $ # # Copyright (c) 2007 Marc Espie # @@ -98,6 +98,9 @@ our @ISA=(qw(OpenBSD::Search)); sub new { my ($class, $stem) = @_; + # TODO this is where we currently handle "branch" matches + # but it's likely the stem/ % mechanisms should be seen as more + # generic cases of PackageSpecs eventually to better results if ($stem =~ m/^(.*)\%(.*)/) { return ($class->_new($1), OpenBSD::Search::FilterLocation->match_partialpath($2)); -- 2.20.1