regexp->appendTail

Appends the remaining input after replacements.

Target member

Signature

1regexp->appendTail()

Appends the remaining input after replacements.

regexp->appendTail is called with member syntax on a receiver value. regexp->appendTail uses the regular-expression surface for pattern matching. Keep patterns small, name the intent in nearby code, and test captures separately from replacement strings.

Examples

Basic call

1regexp('[0-9]+', '', 'a1')->appendTail
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.