wincent/scalpel

Can't specify replacement patterns that contain slashes

Closed this issue · 2 comments

ie. can't replace "foo" with "foo/bar" due to this check.

Known limitation, but one that hasn't bothered me until today. Might need to rejig that.

Should evidently support #foo#bar# and probably other variants too.

From the help:

							*E146*
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+/+//+