DomStrReplace: Add regex backreference example

Created on 12 March 2024, over 1 year ago
Updated 1 August 2024, about 1 year ago

Problem/Motivation

There's no regex backreference example in the code examples/documentation for the DomStrReplace process plugin:
https://git.drupalcode.org/project/migrate_plus/-/blob/06f7c54bfee254531...

Steps to reproduce

N/A

Proposed resolution

I recommend adding a code example with a regex backreference, like what's in the StrReplace process plugin:
https://git.drupalcode.org/project/migrate_plus/-/blob/06f7c54bfee254531...

Maybe maybe maybe it's excessive/unnecessary because there's already an example in the StrReplace process plugin?? -- I didn't think to look there when I needed help, but I'm only one person -- but if the consensus is "let's not put everything everywhere," maybe we could point to the StrReplace example? -- i.e.

Regex backreferences can be used in "replace" values. See StrReplace process plugin for an example [with or without link??].

Remaining tasks

(do, or do not)

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

6.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States alison

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024