Skip to content

Commit

Permalink
MR24 - [TDVT] Add more REGEXP test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewrites committed Dec 15, 2023
1 parent f5da9a7 commit 0899e35
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tdvt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [2.9.8] - 2023-09-12
- Add regexcalcs test case for xfail scenario: string.regexp.extract_nth.extended.xfail.txt

## [2.9.7] - 2023-08-28
- Added formatting for generated expected files.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<results>
<test name='REGEXP_EXTRACT_NTH(&quot;tableau123&quot;, &quot;[a-z]{7}([0-9]{3})&quot;, 10) //&quot;No more than 9 capture groups can be specified.&quot;'>
<error>
No more than 9 capture groups can be specified.&#10;&#10; </error>
<error-type>
Invalid Expression&#10; </error-type>
<table>
</table>
</test>
<test name='REGEXP_EXTRACT_NTH(&quot;tableau123&quot;, &quot;([a-z]{7})([0-9]{3})&quot;, 10) //&quot;No more than 9 capture groups can be specified.&quot;'>
<error>
No more than 9 capture groups can be specified.&#10;&#10; </error>
<error-type>
Invalid Expression&#10; </error-type>
<table>
</table>
</test>
</results>
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."

0 comments on commit 0899e35

Please sign in to comment.