Properties in StrReplace

Created on 13 February 2020, over 4 years ago
Updated 1 February 2024, 5 months ago

I had a use case where I needed to strip the title which was entered as p text in a source's body field. AFAICT there was no way to search/replace using source/dest property values.

Patch attached achieves this - adding a 'properties' boolean option to StrReplace, and if set, replaces usage of '@
' in search/replace strings/patterns.

✨ Feature request
Status

Needs work

Version

4.0

Component

Plugins

Created by

πŸ‡¨πŸ‡¦Canada bgilhome Victoria

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024