LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What's the difference between \s* and \_s* in vim? (https://www.linuxquestions.org/questions/linux-newbie-8/whats-the-difference-between-%5Cs%2A-and-%5C_s%2A-in-vim-797829/)

cola 03-25-2010 11:57 AM

What's the difference between \s* and \_s* in vim?
 
What's the difference between \s* and \_s* in vim?
Any example?

druuna 03-25-2010 12:28 PM

Hi,

\s -> whitespace character: <Space> and <Tab>
\_s -> whitespace character: <Space> and <Tab> with end-of-line added

see: help \_ (when in vim, command mode).

Hope this helps.


All times are GMT -5. The time now is 12:28 AM.