Sometimes re.escape are needed in pytest for match=... arguments.
Then the string is modified and the regex escape is no longer needed.
It would be great if ruff could detect this and remove the unneeded re.escape.
M~WE:
import pytest, re
with pytest.raises(Exception, match=re.escape("regexnotneeded")):
...