Hi all,
I'm quite new to PDI and I ran into something unexpected using the Regex Evaluation step in PDI (5.4.0.1-130, Windows 10)
The goal was to capture a piece of a large string, hence the Regex Eval/ Capture Group step.
The documentation page shows this example to isolate two groups from one input string:
^"([^"]*)" - (\d*) posts$
I could not get this to work until I changed the first character to a backslash instead of the caret.
\"([^"]*)" - (\d*) posts$
Is this an error in the documentation, or am I missing something else? First thought was a version difference, but the behavior is the same on a RegEx learing/testing page. Slash works, caret does not. And this is probably more of a question to ask in the documentation wiki comments; doesn't look like I can use the forum login for that. Or does it take a while for those to get synchronized?
Thanks.
I'm quite new to PDI and I ran into something unexpected using the Regex Evaluation step in PDI (5.4.0.1-130, Windows 10)
The goal was to capture a piece of a large string, hence the Regex Eval/ Capture Group step.
The documentation page shows this example to isolate two groups from one input string:
^"([^"]*)" - (\d*) posts$
I could not get this to work until I changed the first character to a backslash instead of the caret.
\"([^"]*)" - (\d*) posts$
Is this an error in the documentation, or am I missing something else? First thought was a version difference, but the behavior is the same on a RegEx learing/testing page. Slash works, caret does not. And this is probably more of a question to ask in the documentation wiki comments; doesn't look like I can use the forum login for that. Or does it take a while for those to get synchronized?
Thanks.