You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the re functions split, match, finditer, search, subn, sub, fullmatch, the syntax is equivalent (see https://github.com/python/cpython/blob/3.13/Lib/re/__init__.py). The rule is purely stylistic. As a nice bonus, if PATTERN is a literal non-meta-character pattern it will be picked up by RUF055 after the fix.
Activity
[-]Rule idea: `unncessary-regular-expression-compile`[/-][+]Rule idea: `unncessary-compiled-regular-expression`[/+][`complexity`] Add `unnecessary-regular-expression-compile` (#25533)