Skip to content

Commit f07f97a

Browse files
committed
Python: Accept test changes. I think these reflect the 'parse mode chars should not be considered chars' issue.
1 parent a0b784e commit f07f97a

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

python/ql/test/library-tests/regex/Characters.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 22 | 23 |
3737
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 24 | 25 |
3838
| (?P<name>[\\w]+)\| | 10 | 12 |
39+
| (?m)^(?!$) | 2 | 3 |
3940
| (?m)^(?!$) | 4 | 5 |
4041
| (?m)^(?!$) | 8 | 9 |
4142
| (\\033\|~{) | 1 | 5 |

python/ql/test/library-tests/regex/FirstLast.expected

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
| (?P<name>[\\w]+)\| | first | 9 | 14 |
2323
| (?P<name>[\\w]+)\| | last | 9 | 13 |
2424
| (?P<name>[\\w]+)\| | last | 9 | 14 |
25-
| (?m)^(?!$) | first | 4 | 5 |
26-
| (?m)^(?!$) | first | 8 | 9 |
25+
| (?m)^(?!$) | first | 2 | 3 |
2726
| (?m)^(?!$) | last | 4 | 5 |
2827
| (?m)^(?!$) | last | 8 | 9 |
2928
| (\\033\|~{) | first | 1 | 5 |

python/ql/test/library-tests/regex/GroupContents.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 0 | 10 | (?:[^%]\|^) | 3 | 9 | [^%]\|^ |
99
| (?:[^%]\|^)?%\\((\\w*)\\)[a-z] | 14 | 19 | (\\w*) | 15 | 18 | \\w* |
1010
| (?P<name>[\\w]+)\| | 0 | 15 | (?P<name>[\\w]+) | 9 | 14 | [\\w]+ |
11+
| (?m)^(?!$) | 0 | 4 | (?m) | 2 | 3 | m |
1112
| (?m)^(?!$) | 5 | 10 | (?!$) | 8 | 9 | $ |
1213
| (\\033\|~{) | 0 | 9 | (\\033\|~{) | 1 | 8 | \\033\|~{ |
1314
| \\[(?P<txt>[^[]*)\\]\\((?P<uri>[^)]*) | 2 | 16 | (?P<txt>[^[]*) | 10 | 15 | [^[]* |

python/ql/test/library-tests/regex/Regex.expected

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@
7777
| (?P<name>[\\w]+)\| | sequence | 0 | 15 |
7878
| (?m)^(?!$) | $ | 8 | 9 |
7979
| (?m)^(?!$) | ^ | 4 | 5 |
80-
| (?m)^(?!$) | empty group | 0 | 4 |
80+
| (?m)^(?!$) | char | 2 | 3 |
8181
| (?m)^(?!$) | empty group | 5 | 10 |
82+
| (?m)^(?!$) | non-empty group | 0 | 4 |
8283
| (?m)^(?!$) | sequence | 0 | 10 |
84+
| (?m)^(?!$) | sequence | 2 | 3 |
8385
| (?m)^(?!$) | sequence | 8 | 9 |
8486
| (\\033\|~{) | char | 1 | 5 |
8587
| (\\033\|~{) | char | 6 | 7 |

0 commit comments

Comments
 (0)