Skip to content

Jupyter find and replace with capturing groups #135264

@j824h

Description

@j824h

In Jupyter Notebooks, finding witrh regex works but replacing with capturing groups doesn't.
I'd like if it does.

I tried
float\((.*)\)
$1
as in the usual editor, but the replacement treats $1 as literal.
I had to work around by copying the code section to the usual editor, and then find and replace.

This seems like an inconsistent UX, and personally quite inconvinient.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions