Python: Avoid multiple results for toString

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-06-30 14:39:49 +02:00
parent 72986e1e28
commit 651f8abba0
8 changed files with 4 additions and 26 deletions

View File

@@ -1,4 +1,2 @@
| test.py:17:12:17:22 | Str | Backspace escape in regular expression at offset 1. |
| test.py:17:12:17:22 | [\\b\\t ] | Backspace escape in regular expression at offset 1. |
| test.py:19:12:19:28 | E\\d+\\b[ \\b\\t] | Backspace escape in regular expression at offset 8. |
| test.py:19:12:19:28 | Str | Backspace escape in regular expression at offset 8. |

View File

@@ -1,6 +1,3 @@
| test.py:46:12:46:18 | Str | This regular expression includes duplicate character 'A' in a set of characters. |
| test.py:46:12:46:18 | [AA] | This regular expression includes duplicate character 'A' in a set of characters. |
| test.py:47:12:47:19 | Str | This regular expression includes duplicate character '0' in a set of characters. |
| test.py:47:12:47:19 | [000] | This regular expression includes duplicate character '0' in a set of characters. |
| test.py:48:12:48:21 | Str | This regular expression includes duplicate character '-' in a set of characters. |
| test.py:48:12:48:21 | [-0-9-] | This regular expression includes duplicate character '-' in a set of characters. |

View File

@@ -1,4 +1,2 @@
| test.py:22:12:22:29 | (P<name>[\\w]+) | Regular expression is missing '?' in named group. |
| test.py:22:12:22:29 | Str | Regular expression is missing '?' in named group. |
| test.py:23:12:23:33 | (_(P<name>[\\w]+)\|) | Regular expression is missing '?' in named group. |
| test.py:23:12:23:33 | Str | Regular expression is missing '?' in named group. |

View File

@@ -1,8 +1,4 @@
| test.py:4:12:4:19 | ^abc | This regular expression includes an unmatchable caret at offset 1. |
| test.py:4:12:4:19 | Str | This regular expression includes an unmatchable caret at offset 1. |
| test.py:5:12:5:23 | (?s) ^abc | This regular expression includes an unmatchable caret at offset 5. |
| test.py:5:12:5:23 | Str | This regular expression includes an unmatchable caret at offset 5. |
| test.py:6:12:6:21 | Str | This regular expression includes an unmatchable caret at offset 2. |
| test.py:6:12:6:21 | \\[^123] | This regular expression includes an unmatchable caret at offset 2. |
| test.py:79:12:79:27 | (?<=foo)^\\w+ | This regular expression includes an unmatchable caret at offset 8. |
| test.py:79:12:79:27 | Str | This regular expression includes an unmatchable caret at offset 8. |

View File

@@ -1,8 +1,4 @@
| test.py:29:12:29:19 | Str | This regular expression includes an unmatchable dollar at offset 3. |
| test.py:29:12:29:19 | abc$ | This regular expression includes an unmatchable dollar at offset 3. |
| test.py:30:12:30:23 | Str | This regular expression includes an unmatchable dollar at offset 3. |
| test.py:30:12:30:23 | abc$ (?s) | This regular expression includes an unmatchable dollar at offset 3. |
| test.py:31:12:31:20 | Str | This regular expression includes an unmatchable dollar at offset 2. |
| test.py:31:12:31:20 | \\[$] | This regular expression includes an unmatchable dollar at offset 2. |
| test.py:80:12:80:26 | Str | This regular expression includes an unmatchable dollar at offset 3. |
| test.py:80:12:80:26 | \\w+$(?=foo) | This regular expression includes an unmatchable dollar at offset 3. |