Summary
Introduce a --regex flag to explicitly enable regex-based searching.
Motivation
Explicit control avoids ambiguity between simple pattern matching and regex interpretation.
Proposed Solution
Add a --regex flag that treats input patterns strictly as regular expressions.
Alternatives Considered
Auto-detecting regex patterns, which can lead to inconsistent behavior.
Additional Context
Improves clarity and user control
Summary
Introduce a
--regexflag to explicitly enable regex-based searching.Motivation
Explicit control avoids ambiguity between simple pattern matching and regex interpretation.
Proposed Solution
Add a
--regexflag that treats input patterns strictly as regular expressions.Alternatives Considered
Auto-detecting regex patterns, which can lead to inconsistent behavior.
Additional Context
Improves clarity and user control