Feeds Tamper FindReplace REGEX escape backslash

Created on 12 November 2023, 8 months ago

Problem/Motivation

When using Find replace REGEX with a \L$1 Replacement pattern I'm getting a double backlash, like this:
- Original string: De
- Replace with: \L$1
- Output: \\LDe

Expected result: de

I have inspected the database and the config is saving the correct value, without double backslash, so I don't know where this is being made.

Thanks.

BTW:
the \L$1 is a replacement pattern to lowercase.
Some practical examples here:
https://stackoverflow.com/questions/20742076/replace-uppercase-with-lowe...

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal jrochate

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

Comments & Activities

Production build 0.69.0 2024