Marc Weber wrote:
Excerpts from Linda W's message of Mon Jan 09 04:34:57 +0100 2012:
Could you please add a '\p' operand to regex's (cf. '\v'), to invoke standard perl pattern matching.

Does :h if_perl help you? It would help talking about your use case.
---
1) win64 version is only compiled with google approved python.

2) i've tried it before, I wasn't able to make it do diddly.... I was ***MUCH***
easier to write a script outside of vim
than trying to cope with a proprietary, interface to mangle text, wouldn't
allow me to simply search and replace in perl...

I'd love to be able to
:%P $n=1; $max=$totallines; s/^/printf "d%%==%d%%: ",(1000*$n++/max($totallines,0))/e

which would print the % of (this was made up on the spot, so it's only an **example** of something I'd like to be able to do)... % marker in deci%, before each line... and put
it in the file.  I.e. I could then save it...

or whatever....


I keep getting screwed though
:s/\s*\n\s+{/ {; or with <>, I never remember which need quoting
but in s/\v\{([^\}]+\}/... ops, backslash isn't needed to quote stuff in brackets or closing braces if there was no opening... .. or on thursday and tuesday that
occur on even days? or was it mondays and tue...er..





--
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

Reply via email to