Aadhavan Srinivasan Rockingcool
  • Joined on 2022-10-09
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-27 19:00:49 -06:00
3f5f8fad2c Removed unnecessary functions (using staticcheck)
e671137493 Changed error messages - removed capitalization and punctuation to find Go's error message guidelines
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-27 15:07:34 -06:00
abc40bf770 Return an error if a POSIX charclass is specified outside of brackets
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-27 15:00:45 -06:00
3fb9bc1446 Added support for POSIX character classes
ae76e2e55e Added a function to generate a slice of all values (inclusive) in a range
dec6aaca93 Added POSIX charclass tests
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-27 12:54:13 -06:00
43d0cbf0a0 Use 'CONCAT' instead of literally specifiying the rune
Rockingcool pushed to master at Rockingcool/ccat 2025-01-27 08:26:25 -06:00
9fce9cf2a1 Construct config path using user's home directory, instead of trying to guess what the home directory is
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-26 21:19:41 -06:00
68a3581d93 Added note on PCRE backreferences
ff250338b4 Added more tests; added backreference comment
0367c0d614 Added more tests
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-25 21:41:55 -06:00
304ef68d45 Added more tests
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-25 21:37:18 -06:00
1db61108e4 Allow pipes that have a missing operand - if an operand is missing, it is replaced with a zeroLengthMatchState(), which always has a zero-length match
8feaefeeb8 Added more tests
a259f0ceab Created a function to return a state that will always have a zero-length state
Compare 3 commits »
Rockingcool deleted branch oldHistoryWithOtherEmail from Rockingcool/kleingrep 2025-01-25 12:42:57 -06:00
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-25 12:31:31 -06:00
08e01a1c81 Loosened restrictions for concatenation - It's okay if one of the
5c2869ff81 Updated test case
4dfc77900f Added new assertion that always evaluates to true
93903fc557 Allowed creation of empty non-capturing groups
036e625a15 Added more test cases
Compare 21 commits »
Rockingcool created branch oldHistoryWithOtherEmail in Rockingcool/kleingrep 2025-01-25 12:21:33 -06:00
Rockingcool pushed to oldHistoryWithOtherEmail at Rockingcool/kleingrep 2025-01-25 12:21:33 -06:00
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-25 12:11:57 -06:00
4c96cfa06c Loosened restrictions for concatenation - It's okay if one of the
bd56c9c7b5 Updated test case
6cf523b7ea Added new assertion that always evaluates to true
ed2671849d Allowed creation of empty non-capturing groups
2309d35d30 Added more test cases
Compare 8 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-24 16:06:27 -06:00
435588274c WIP - fixing character classes
a347ebacc4 Added more test cases
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-24 14:51:01 -06:00
ccb82f781b Enforce the rule that character classes must have at least one character; interpret literal closing brackets as regular characters
09bbf8d3f1 Refactored isNormalChar(), wrote function to get special characters that have metachar replacements
d5b4450e50 Added more test cases (1 failing)
45827b5dd3 Allow hyphen to be escaped inside character class
c26edcb0c4 Fixed edge cases with character ranges and character classes
Compare 5 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-24 10:12:10 -06:00
110298b6a6 Added 'flags' field to test struct for all-group tests
eff4c5a5df Added 'flags' field to test struct for 0-group tests
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-22 19:28:04 -06:00
0bd7a87797 Removed old comment
9cf1c66653 Implemented character range detection later in the code, using a metacharacter
9edc99d73c Modified genRange() so that it can work on ints and runes
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-22 15:51:24 -06:00
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
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-21 21:19:49 -06:00
ae09462bd4 Added important note
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-21 21:16:45 -06:00
d210a85253 Updated handling of '\b' when inside character class, made invalid
48cff259b2 Updated tests
25cb79f01b Changed the value of EPSILON, so that we can use the NUL character
0fb78abf7f Added function to replace an element in a slice given its value
9dc4fd4595 Started adding tests from Python's RE test suite
Compare 7 commits »