Function: tramp-compat-replace-regexp-in-region

tramp-compat-replace-regexp-in-region is a function alias for replace-regexp-in-region, defined in subr.el.gz.

Signature

(tramp-compat-replace-regexp-in-region REGEXP REPLACEMENT &optional START END)

Documentation

Replace REGEXP with REPLACEMENT in the region from START to END.

The number of replaced occurrences are returned, or nil if REGEXP doesn't exist in the region.

If START is nil, use the current point. If END is nil, use point-max.

Comparisons and replacements are done with fixed case.

REPLACEMENT can use the following special elements:

  \& in NEWTEXT means substitute original matched text.
  \N means substitute what matched the Nth \(...\).
       If Nth parens didn't match, substitute nothing.
  \\ means insert one \.
  \? is treated literally.

Aliases

tramp-compat-replace-regexp-in-region