Skip to content

Commit 6e9c48b

Browse files
committed
Python: test zero iterations
1 parent 226c295 commit 6e9c48b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| test.py:45:12:45:18 | Str | This regular expression includes duplicate character 'A' in a set of characters. |
2-
| test.py:46:12:46:19 | Str | This regular expression includes duplicate character '0' in a set of characters. |
3-
| test.py:47:12:47:21 | Str | This regular expression includes duplicate character '-' in a set of characters. |
1+
| test.py:46:12:46:18 | Str | This regular expression includes duplicate character 'A' in a set of characters. |
2+
| test.py:47:12:47:19 | Str | This regular expression includes duplicate character '0' in a set of characters. |
3+
| test.py:48:12:48:21 | Str | This regular expression includes duplicate character '-' in a set of characters. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
| test.py:4:12:4:19 | Str | This regular expression includes an unmatchable caret at offset 1. |
22
| test.py:5:12:5:23 | Str | This regular expression includes an unmatchable caret at offset 5. |
33
| test.py:6:12:6:21 | Str | This regular expression includes an unmatchable caret at offset 2. |
4-
| test.py:78:12:78:27 | Str | This regular expression includes an unmatchable caret at offset 8. |
4+
| test.py:79:12:79:27 | Str | This regular expression includes an unmatchable caret at offset 8. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
| test.py:29:12:29:19 | Str | This regular expression includes an unmatchable dollar at offset 3. |
22
| test.py:30:12:30:23 | Str | This regular expression includes an unmatchable dollar at offset 3. |
33
| test.py:31:12:31:20 | Str | This regular expression includes an unmatchable dollar at offset 2. |
4-
| test.py:79:12:79:26 | Str | This regular expression includes an unmatchable dollar at offset 3. |
4+
| test.py:80:12:80:26 | Str | This regular expression includes an unmatchable dollar at offset 3. |

python/ql/test/query-tests/Expressions/Regex/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
re.match(b"((a$).*)", b"a")
4141
re.match("(\Aab$|\Aba$)$\Z", "ab")
4242
re.match(b"((a$\Z)|b){4}", b"bbba")
43+
re.match(b"(a){00}b", b"b")
4344

4445
#Duplicate character in set
4546
re.compile(b"[AA]")

0 commit comments

Comments
 (0)