# File lib/specinfra/backend/powershell/command.rb, line 20 def convert_regexp(target) case target when Regexp target.source else target.to_s.gsub '(^\/|\/$)', '' end end