Skip to content

add support for searching via regex #760

@MartinquaXD

Description

@MartinquaXD

Problem
When searching through code bases having the ability to search file contents with a regex is invaluable and an important feature that telescope has over television.

Feature
television should have a CLI argument that enables support for regexes as the search string.

Examples
When you need to find all implementations of a specific trait just searching for the trait will also show everywhere it's only imported. To narrow down my search I'd have to do something like: impl.*<TRAIT_NAME>.*for
While this can technically still have results that are irrelevant to me it's already precise enough for the majority of cases.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions