Aadhavan Srinivasan Rockingcool
  • Joined on 2022-10-09
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 08:09:56 -06:00
ca8d32cd7f Added more tests
368941e5c7 Fix out-of-bounds access in genRangeInclusive
b9da5ec08d Replace use of 'genRange' with 'genRangeInclusive'
c5a43c47f0 Update type and method references to use qualified names
c3c3829ac9 Move 'genRange' function to 'cmd'
Compare 8 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-29 13:45:33 -06:00
54df6f1815 Added numeric range tests
bd424ceccd Catch error from range2regex() and return it
e8e09dd0f9 Throw error instead of panicking
46f4a2ad83 Return error instead of panicking if the range cannot be processed
Compare 4 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-29 09:29:01 -06:00
833dd269a8 Added more descriptive comments; throw error if non-greedy operator is used; use new definition for kleene()
ecab7cc522 Make kleene() throw an error if the state is not quantifiable
8b6d35c106 Finished adding tests from Python's test suite; removed a non-greedy operator from one of the old tests
5e6435d8a7 Throw error if non-greedy operator is attempted
Compare 4 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-28 21:42:58 -06:00
5bb06900cc Added more tests
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-28 15:53:04 -06:00
bde153ce08 Changed '-t' flag to include the new RE_SINGLE_LINE flag as well
4c3c7e21c5 Fixed inverted Perl classes inside character classes eg. '[\D]'; added new flag for 'single-line' mode, where dot metacharacter matches newlines
61a128e27a Added more tests
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-28 14:58:26 -06:00
c700b01e80 Remove duplicate lines from re_tests.py
578959c9b3 Add Python's regex test suite
3918682339 Added more tests
d890a93775 Store multiline mode as a global flag
d029a171c0 Changed behavior of SOS and EOS assertions depending on whether multiline mode is enabled or not
Compare 9 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-28 10:43:15 -06:00
94c8044eb7 Running all tests case-insensitive with the same match indices wasn't a good idea
4a45d1c95e allCases() now takes a boolean parameter that indicates whether we are case-sensitive or not
861eb6067e Apply case-insensitive flag inside character classes as well
027dfb4d6b Run all tests twice - case-sensitive, then case-insensitive
932a20f641 Added more tests
Compare 9 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-27 19:06:47 -06:00
5e3801af7c Reformatted error messages according to Go guidelines
d44a25f412 Removed a type that I wasn't using
Compare 2 commits »
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