-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MR24 - [TDVT] Add more REGEXP test cases
- by @tabsdavis
- Loading branch information
1 parent
f5da9a7
commit 0899e35
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tdvt/tdvt/exprtests/regexcalcs/expected.setup.string.regexp.extract_nth.extended.xfail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<results> | ||
<test name='REGEXP_EXTRACT_NTH("tableau123", "[a-z]{7}([0-9]{3})", 10) //"No more than 9 capture groups can be specified."'> | ||
<error> | ||
No more than 9 capture groups can be specified. </error> | ||
<error-type> | ||
Invalid Expression </error-type> | ||
<table> | ||
</table> | ||
</test> | ||
<test name='REGEXP_EXTRACT_NTH("tableau123", "([a-z]{7})([0-9]{3})", 10) //"No more than 9 capture groups can be specified."'> | ||
<error> | ||
No more than 9 capture groups can be specified. </error> | ||
<error-type> | ||
Invalid Expression </error-type> | ||
<table> | ||
</table> | ||
</test> | ||
</results> |
2 changes: 2 additions & 0 deletions
2
tdvt/tdvt/exprtests/regexcalcs/setup.string.regexp.extract_nth.extended.xfail.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
REGEXP_EXTRACT_NTH("tableau123", "[a-z]{7}([0-9]{3})", 10) //"No more than 9 capture groups can be specified." | ||
REGEXP_EXTRACT_NTH("tableau123", "([a-z]{7})([0-9]{3})", 10) //"No more than 9 capture groups can be specified." |