# File lib/specinfra/command/freebsd/v8/package.rb, line 3 def pkg_info_pattern(package) # allow portorigin (origin/portname) as package argument, so that we get # similar answers from either "pkg info" and "pkg_info" "^#{package.split('/', 2)[-1]}-[0-9][0-9a-zA-Z_\.,]*$" end