mirror of https://github.com/ansible/ansible.git
pkgin: Fix bad regexp which did not catch packages such as p5-SVN-Notify
The previous version of my regexp did not take into account packages such as 'p5-Perl-Tidy' or 'p5-Test-Output', so use a greedy match up to the last occurrance of '-' for matching the package. This regex has been extensively tested using all packages as provided by pkgsrc-2016Q1[1]. Footnotes: [1] http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/?only_with_tag=pkgsrc-2016Q1pull/18777/head
parent
7c19002f34
commit
310b7ce3d8
Loading…
Reference in New Issue