Closed Avimitin closed 6 months ago
I think this might related to these implementations:
Maybe we should put user defined patterns at the front of the list.
Verified that after #119 this issue get fixed.
Also, SRI hash matching is really useful for web development and nix development, can I add it into default patterns?
Also, SRI hash matching is really useful for web development and nix development, can I add it into default patterns?
Yep go ahead! You can add some tests in spec/lib/patterns_spec.cr
and run tests with crystal spec spec/lib/patterns_spec.cr
in the process.
Hi, I found some problem that I can't fix on my own. I am trying to add new regexp pattern for matching the SRI hash string:
But with the above config I found that I still can't copy the whole SRI string:
* grep -P is OK
* tmux-fingers can not match the whole string
Another weird thing is that whatever I add the above config or not, the match is still the same:
* tmux-fingers matches after config is clear
I suspect that when tmux-fingers found regexp match for a piece of text by default pattern, it won't match the text using user specified pattern again.