|
08e01a1c81
|
Loosened restrictions for concatenation - It's okay if one of the
elements is missing
|
2025-01-25 13:09:47 -05:00 |
|
|
5c2869ff81
|
Updated test case
|
2025-01-25 13:09:29 -05:00 |
|
|
4dfc77900f
|
Added new assertion that always evaluates to true
|
2025-01-25 13:04:51 -05:00 |
|
|
93903fc557
|
Allowed creation of empty non-capturing groups
|
2025-01-25 13:04:36 -05:00 |
|
|
036e625a15
|
Added more test cases
|
2025-01-25 13:04:08 -05:00 |
|
|
4966a222f9
|
Added detection of empty parentheses, as zero-length matches
|
2025-01-25 12:44:40 -05:00 |
|
|
263619c50c
|
Added more test cases
|
2025-01-25 12:23:15 -05:00 |
|
|
d7c9c181e1
|
Fixed bug in character class implementation
|
2025-01-24 19:48:53 -05:00 |
|
|
5a085907cf
|
WIP - fixing character classes
|
2025-01-24 17:06:19 -05:00 |
|
|
65e5b4e2af
|
Added more test cases
|
2025-01-24 17:06:00 -05:00 |
|
|
1520edad55
|
Enforce the rule that character classes must have at least one character; interpret literal closing brackets as regular characters
|
2025-01-24 15:50:36 -05:00 |
|
|
6fb266e0d2
|
Refactored isNormalChar(), wrote function to get special characters that have metachar replacements
|
2025-01-24 15:49:33 -05:00 |
|
|
423fcc9b54
|
Added more test cases (1 failing)
|
2025-01-24 14:58:18 -05:00 |
|
|
cf4d305b31
|
Allow hyphen to be escaped inside character class
|
2025-01-24 14:58:07 -05:00 |
|
|
9d3c228ace
|
Fixed edge cases with character ranges and character classes
|
2025-01-24 14:57:47 -05:00 |
|
|
5e12fe1c42
|
Added 'flags' field to test struct for all-group tests
|
2025-01-24 11:11:48 -05:00 |
|
|
f87458ee99
|
Added 'flags' field to test struct for 0-group tests
|
2025-01-24 11:10:01 -05:00 |
|
|
2937f2d917
|
Removed old comment
|
2025-01-22 20:27:35 -05:00 |
|
|
efab70f9dc
|
Implemented character range detection later in the code, using a metacharacter
|
2025-01-22 20:26:58 -05:00 |
|
|
cf964e41db
|
Modified genRange() so that it can work on ints and runes
|
2025-01-22 20:25:49 -05:00 |
|
|
649485f01d
|
Removed character range creation from the first part of shuntingYard() (the part that adds concatenation operators), because octal and hex values haven't yet been deciphered at this point in the code
|
2025-01-22 16:51:00 -05:00 |
|