gdh1995 / vimium-c

A keyboard shortcut browser extension for keyboard-based navigation and tab operations with an advanced omnibar
https://chrome.google.com/webstore/detail/vimium-c/hfjbmagddngcpeloejdejnfgbamkjaeg
Other
3.41k stars 254 forks source link

Regex support in find mode #1194

Closed phuclv90 closed 2 weeks ago

phuclv90 commented 2 months ago

What command or commands

A command to search using regex instead of literal strings, because sometimes I need to find a specific pattern or search for multiple strings

How should a feature do

When a user has done such steps:

  1. Press / or a new command

then Vimium C should do:

Search using regex

directentis1 commented 2 months ago

Just need to put \r in the end of your pattern. I though it was already mentioned in docs? 🤔

directentis1 commented 2 months ago

https://github.com/philc/vimium/wiki/Find-Mode#case-sensitivity-and-regexps

phuclv90 commented 2 months ago

ooop sorry I searched in the github search box and didn't find that. Previously I missed the Treat find queries as JavaScript regular expressions because I looked for "regex" instead 🤦