nakagami / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Search using regular expression string #12

Closed nakagami closed 1 month ago

nakagami commented 1 month ago

and related to :set ignorecase and :set ic ignored https://github.com/prompt-toolkit/pyvim/issues/147

nakagami commented 1 month ago

find() https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/src/prompt_toolkit/document.py#L360-L399

find_backwards() https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/src/prompt_toolkit/document.py#L409-L436

nakagami commented 1 month ago

Search formard using regular expressions is working, now. The regular expression \< \>, which is specific to vi, cannot be used because the python re module is used, but this is a specification.

Search barckwards using regular expressions still not working.