mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
This resolves #5235 and supersedes #5238. Instead of using `-match` use `-like` when querying the Windows registry. This completely removes the problem of trying to clean the string for a regex and just let's Powershell do that with `-like`. I confirmed this works with the use case of having a package name such as `Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.28.29325` work as-is without any modification. Signed-off-by: Lance Albertson <lance@osuosl.org> |
||
---|---|---|
.. | ||
mock_loader.rb | ||
resources.rb | ||
simplecov_minitest.rb |