Skip to content

Escape backslash in ignore regex pattern #1776

@jubueche

Description

@jubueche

Here the string describing the regex pattern contains backslashes.
Python raises a SyntaxWarning: invalid escape sequence '\.' as a result.
Should these backslashes be escaped?

I don't think it's a bug but clarification would be nice.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions