Aadhavan Srinivasan Rockingcool
  • Joined on 2022-10-09
Rockingcool pushed to master at Rockingcool/kleingrep 2025-02-01 10:09:31 -06:00
2a9ae0b68a Wrote test for 'FindSubmatch'
783ae2ad10 Updated call to 'isValid' with call to 'IsValid'
b5e6bc112c Wrote 'reg.FindSubmatch()' which returns the leftmost match with submatches, renamed 'isValid' to 'IsValid' to export it, renamed 'ToString' to 'String'
206fea34cd Added function to return the number of subexpressions in the group
fcdb23524a Added more documentation
Compare 5 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-31 15:54:24 -06:00
ac936659b6 Updated documentation
e6dba9fdcf Updated documentation
30779a446b Updated documentation
f629a0f08f Added 'mustCompile' which panicks if there is an error compiling
Compare 4 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-31 09:52:47 -06:00
6869cd00a2 Return error instead of nil when 'Find' fails
02bc8f30a2 Added test for 'Find'
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-31 09:13:22 -06:00
ac05bceda3 Use method instead of function
037ac75ea6 Wrote new method to return 0-group of leftmost match; reorganized some functions for better clarity; made 'FindNthMatch' a method
e9d4e857cf Run 'TestFindAllStrings' since that function has been implemented
b685d2fd5f Renamed 'findAllMatchesHelper' to 'findAllSubmatchHelper'
8eda5055ff Replaced call to 'FindAllMatches' with call to 'FindAll' or 'FindAllSubmatch' depending on whether I need submatches
Compare 8 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 21:57:51 -06:00
0d19664044 Cleared up some comments, wrote a skeleton for FindAllString
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 21:51:46 -06:00
1bfb09b6c7 Made 'FindString' a method of 'Reg'
b0b8bf23af Updated documentation
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 16:52:04 -06:00
00570f07fe Wrote documentation on syntax
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 14:08:31 -06:00
7431b1a7b2 Changed \Z to \z to fit with Go's naming
ee51e39d59 Added support for start-of-input (\A) and end-of-input (\Z) assertions
db7c884b83 Added test for start-of-input and end-of-input assertion
c3059fe899 Return a new error instead of rethrowing a non-existent error
4f577592ba Added rule to run tests
Compare 12 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:49:09 -06:00
57eb935bd1 Updated comment
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:47:47 -06:00
cbd679949f Updated more referencs to constants
a63426d965 Updated references to constants
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:45:22 -06:00
2e3450285c Renamed one more variable to avoid exporting
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:44:41 -06:00
7e792f1248 Renamed more constants to avoid exporting
b8f5b9af7c Updated one more reference to epsilon
be60f2fb51 Updated references to 'epsilon'
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:37:00 -06:00
7aee4280cc Renamed 'EPSILON' to 'epsilon' to avoid exporting
e01ef48cbc Updated CONCAT to be a metacharacter instead of just a tilde, and renamed it to avoid exporting
93474c5159 Renamed 'state' to 'nfaState' because 'state' by itself means nothing
d81b2ddaaa Renamed 'State' to 'state' to avoid exposing the insides of the engine
429d286439 Renamed variable to avoid conflicting with type name
Compare 11 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 09:03:08 -06:00
ca8f8e1030 Renamed function
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 08:52:10 -06:00
24a5045ebe Updated map and reduce function names so that they aren't exported
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 08:22:42 -06:00
f6d56b74e1 Updated module name to 'kleingrep' (Let's goo!)
Rockingcool renamed repository from regex to Rockingcool/kleingrep 2025-01-30 08:20:29 -06:00
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-30 08:15:53 -06:00
dc53951408 Update package name in import
aef8152fc1 Renamed package 'greg' to 'regex'
Compare 2 commits »
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 »