On Thu, Dec 3, 2009 at 3:54 PM, Nicolas Pouillard
<[email protected]> wrote:
> The Vim documentation says:
>
> Instead of the '/' which surrounds the pattern and replacement string, you
> can use any other single-byte character, but not an alphanumeric character,
> '\', '"' or '|'.  This is useful if you want to include a '/' in the search
> pattern or replacement string.  Example: >
>        :s+/+//+

Peaking at the vim source, it looks like the space character and tab
characters are also invalid delimiters. I'm not sure why tab isn't,
but ':s ' is a command to repeat the last substitution.

Is it possible to capture these restrictions in a pattern match?

Would an acceptable, modification of the patch be to just move the two
patterns down to near the bottom and do the checks for valid
characters there?

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to