|
4c96cfa06c
|
Loosened restrictions for concatenation - It's okay if one of the
elements is missing
|
2025-01-25 13:09:47 -05:00 |
|
|
bd56c9c7b5
|
Updated test case
|
2025-01-25 13:09:29 -05:00 |
|
|
6cf523b7ea
|
Added new assertion that always evaluates to true
|
2025-01-25 13:04:51 -05:00 |
|
|
ed2671849d
|
Allowed creation of empty non-capturing groups
|
2025-01-25 13:04:36 -05:00 |
|
|
2309d35d30
|
Added more test cases
|
2025-01-25 13:04:08 -05:00 |
|
|
5afb7dd04a
|
Added detection of empty parentheses, as zero-length matches
|
2025-01-25 12:44:40 -05:00 |
|
|
d5007a3fd5
|
Added more test cases
|
2025-01-25 12:23:15 -05:00 |
|
|
5c4d979d7e
|
Fixed bug in character class implementation
|
2025-01-24 19:48:53 -05:00 |
|
Aadhavan Srinivasan
|
435588274c
|
WIP - fixing character classes
|
2025-01-24 17:06:19 -05:00 |
|
Aadhavan Srinivasan
|
a347ebacc4
|
Added more test cases
|
2025-01-24 17:06:00 -05:00 |
|
Aadhavan Srinivasan
|
ccb82f781b
|
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 |
|
Aadhavan Srinivasan
|
09bbf8d3f1
|
Refactored isNormalChar(), wrote function to get special characters that have metachar replacements
|
2025-01-24 15:49:33 -05:00 |
|
Aadhavan Srinivasan
|
d5b4450e50
|
Added more test cases (1 failing)
|
2025-01-24 14:58:18 -05:00 |
|
Aadhavan Srinivasan
|
45827b5dd3
|
Allow hyphen to be escaped inside character class
|
2025-01-24 14:58:07 -05:00 |
|
Aadhavan Srinivasan
|
c26edcb0c4
|
Fixed edge cases with character ranges and character classes
|
2025-01-24 14:57:47 -05:00 |
|
Aadhavan Srinivasan
|
110298b6a6
|
Added 'flags' field to test struct for all-group tests
|
2025-01-24 11:11:48 -05:00 |
|
Aadhavan Srinivasan
|
eff4c5a5df
|
Added 'flags' field to test struct for 0-group tests
|
2025-01-24 11:10:01 -05:00 |
|
|
0bd7a87797
|
Removed old comment
|
2025-01-22 20:27:35 -05:00 |
|
|
9cf1c66653
|
Implemented character range detection later in the code, using a metacharacter
|
2025-01-22 20:26:58 -05:00 |
|
|
9edc99d73c
|
Modified genRange() so that it can work on ints and runes
|
2025-01-22 20:25:49 -05:00 |
|
Aadhavan Srinivasan
|
6850396bf9
|
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 |
|