mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
a6cff007ed
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> |
||
---|---|---|
.. | ||
artifact | ||
fixtures | ||
functional | ||
helpers | ||
integration | ||
kitchen | ||
unit | ||
helper.rb |