Smattr / clink

a modern re-implementation of Cscope
The Unlicense
43 stars 2 forks source link

regex support #113

Closed Smattr closed 2 years ago

Smattr commented 2 years ago

One of the features of Cscope deliberately excluded from Clink is the egrep search. Nevertheless a frequent scenario is not being able to remember the exact name of the symbol you want to search for. Regex would alleviate this.

I've been cursorily looking into this and it looks achievable. The APIs we'd have to use have constraints that pessimise performance. But I don't think we care right now as searching is not a bottleneck (database construction and syntax highlighting are).