diff --git a/README.md b/README.md index 47e686f84..38a839ace 100644 --- a/README.md +++ b/README.md @@ -1196,7 +1196,8 @@ Don't capture id attribute name here since you can't use it for anything anyway. Correct: ```python -r'(?:id|ID)=(?P\d+)' +r'(?i)\b id \s* = \s* ["\']?(?P\d+)\b["\']?' + ``` Incorrect: