Commit Graph

9 Commits

Author SHA1 Message Date
gingerBill
c77e8ca401 Fix tests 2024-08-21 14:06:04 +01:00
Feoramund
d0d4f19097 Remove debug line from test 2024-08-05 03:50:41 -04:00
Feoramund
ca7e46d56f Add explicit test case for Capture pos 2024-08-04 18:56:29 -04:00
Feoramund
743480b1a4 Use regex.destroy for test captures 2024-08-04 18:56:29 -04:00
Feoramund
cd8272557f Test that a RegEx Capture pos corresponds to its groups 2024-08-04 18:33:36 -04:00
Feoramund
042f6de478 Remove printing facilities for Regular_Expression
The `original_pattern` introduced a tenuous dependency to the expression
value as a whole, and after some consideration, I decided that it would
be better for the developer to manage their own pattern strings.

In the event you need to print the text representation of a pattern,
it's usually better that you manage the memory of it as well.
2024-07-24 16:27:20 -04:00
Feoramund
c52a8a5f86 Allow configuring of MAX_CAPTURE_GROUPS for n > 10 2024-07-24 16:27:08 -04:00
Feoramund
e8537a3134 Add test cases for unclosed classes and repetition
Simplified error checking while I was at it, too.
2024-07-24 15:21:41 -04:00
Feoramund
3e49ceb82a Add tests for core:text/regex 2024-07-22 15:07:13 -04:00