diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-01-31 10:49:54 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-01-31 10:49:54 +0000 |
commit | 9a290fd42e23b0c43729b9852fb6d5d0b15f3861 (patch) | |
tree | 094bcbc1f0f2165dfbdeb9608e3fb298124f9db1 /usr.sbin/pkg_add | |
parent | d2f2e25aa81856bc618336db7dbf648272384abd (diff) |
avoid creating backrefs
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgSpec.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm b/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm index d77bfde59df..5c3c9f7e392 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgSpec.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PkgSpec.pm,v 1.41 2014/01/31 10:30:48 espie Exp $ +# $OpenBSD: PkgSpec.pm,v 1.42 2014/01/31 10:49:53 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -309,8 +309,8 @@ sub new }, $class; if ($with_partial) { - $o->{exactstem} = qr{^(partial\-)*$stemspec$}; - $o->{fuzzystem} = qr{^(partial\-)*$stemspec\-\d.*$}; + $o->{exactstem} = qr{^(?:partial\-)*$stemspec$}; + $o->{fuzzystem} = qr{^(?:partial\-)*$stemspec\-\d.*$}; } else { $o->{exactstem} = qr{^$stemspec$}; $o->{fuzzystem} = qr{^$stemspec\-\d.*$}; |