fix: make grep regex implementation skip hidden files to match ripgrep behavior
Carlos Alexandro Becker
and
Crush
created
The regex fallback implementation for grep was including hidden files (starting with '.')
while ripgrep naturally excludes them by default. This caused inconsistent behavior between
the two search implementations.
This change adds explicit hidden file filtering to the regex implementation to ensure
both search methods behave consistently and match the documented behavior.
Fixes failing TestSearchImplementations/regex test.
💖 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>