Regex capture groups working for Replace, but not Replace All?

Hi there,

I’m surprised to see that capture groups work for Replace, but not Replace All?

Something like this in search:

search: (something) blah blah

replace: $1

works, but only when replacing each instance one after another, not when using replace all? Has anyone else seen this?

Jupyterlab 4.2.5

Thanks in advance,

Best,

Jeremie

Just tried it and found out ‘Replace All’ with capturing groups works fine in jupyterlab 4.5.1

1 Like

Hi there, thanks for this! Glad to hear it was fixed in later updates.