On Do, 09 Sep 2021, Julius Hamilton wrote:
> From trying it myself, it seems that the "find" menu option in Gvim does not allow entering patterns or regular expressions, such as a period to represent any character, or "\n" to represent a newline, but only literal, explicit text
> matching.
>
> I was curious why this is and if there is any GUI / menu way to search for regular expression patterns or if you must use the Vim text-based command "/" for this.
Yes, I think the :promptfind and :promptreplace commands do a literal
search and replace only. If you want to use regexes, just use the `/`
(for finding) or `:%s` (for replacing) command.
Best,
Christian
--
Frau Weber liest in einem Gedichtband. Auf einmal ruft sie: "Du, Theo,
stell Dir vor, hier hat doch tatsächlich ein gewisser Rilke das
Gedicht abgeschrieben, das Du vor dreißig Jahren eigens für mich
geschrieben hast!"
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210909123654.GC3962222%40256bit.org.
Thursday, September 9, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment