Commit Graph

322 Commits (30779a446b7c3bbbed7f1eacc7eb76310f8edee0)
 

Author SHA1 Message Date
Aadhavan Srinivasan 30779a446b Updated documentation
Aadhavan Srinivasan f629a0f08f Added 'mustCompile' which panicks if there is an error compiling
Aadhavan Srinivasan 6869cd00a2 Return error instead of nil when 'Find' fails
Aadhavan Srinivasan 02bc8f30a2 Added test for 'Find'
Aadhavan Srinivasan ac05bceda3 Use method instead of function
Aadhavan Srinivasan 037ac75ea6 Wrote new method to return 0-group of leftmost match; reorganized some functions for better clarity; made 'FindNthMatch' a method
Aadhavan Srinivasan e9d4e857cf Run 'TestFindAllStrings' since that function has been implemented
Aadhavan Srinivasan b685d2fd5f Renamed 'findAllMatchesHelper' to 'findAllSubmatchHelper'
Aadhavan Srinivasan 8eda5055ff Replaced call to 'FindAllMatches' with call to 'FindAll' or 'FindAllSubmatch' depending on whether I need submatches
Aadhavan Srinivasan 45b6566b2c Replaced function call with method call
Aadhavan Srinivasan e22822e619 Renamed 'FindAllMatches' to 'FindAll' and made it a method; made it return a slice of 0-groups; the functionality of 'FindAllMatches' is now in 'FindAllSubmatch'
Aadhavan Srinivasan 692de2a32b Added lookarounds and numeric ranges to documentation
Aadhavan Srinivasan 0d19664044 Cleared up some comments, wrote a skeleton for FindAllString
Aadhavan Srinivasan 1bfb09b6c7 Made 'FindString' a method of 'Reg'
Aadhavan Srinivasan b0b8bf23af Updated documentation
Aadhavan Srinivasan 00570f07fe Wrote documentation on syntax
Aadhavan Srinivasan 7431b1a7b2 Changed \Z to \z to fit with Go's naming
Aadhavan Srinivasan ee51e39d59 Added support for start-of-input (\A) and end-of-input (\Z) assertions
Aadhavan Srinivasan db7c884b83 Added test for start-of-input and end-of-input assertion
Aadhavan Srinivasan c3059fe899 Return a new error instead of rethrowing a non-existent error
Aadhavan Srinivasan 4f577592ba Added rule to run tests
Aadhavan Srinivasan b734d61a03 Throw error if \B is used in character class
Aadhavan Srinivasan 00c39857eb Rethrow errors instead of rewriting them
Aadhavan Srinivasan aa9e2324ee Removed unnecessary space
Aadhavan Srinivasan 66b96bf9e8 Updated license
Aadhavan Srinivasan 0ac39bfb7b Started working on package-level documentation
Aadhavan Srinivasan dbc9fe2c3b Added license
Aadhavan Srinivasan eeeb9387d5 Updated Makefile to build library and command separately
Aadhavan Srinivasan 57eb935bd1 Updated comment
Aadhavan Srinivasan cbd679949f Updated more referencs to constants
Aadhavan Srinivasan a63426d965 Updated references to constants
Aadhavan Srinivasan 2e3450285c Renamed one more variable to avoid exporting
Aadhavan Srinivasan 7e792f1248 Renamed more constants to avoid exporting
Aadhavan Srinivasan b8f5b9af7c Updated one more reference to epsilon
Aadhavan Srinivasan be60f2fb51 Updated references to 'epsilon'
Aadhavan Srinivasan 7aee4280cc Renamed 'EPSILON' to 'epsilon' to avoid exporting
Aadhavan Srinivasan e01ef48cbc Updated CONCAT to be a metacharacter instead of just a tilde, and renamed it to avoid exporting
Aadhavan Srinivasan 93474c5159 Renamed 'state' to 'nfaState' because 'state' by itself means nothing
Aadhavan Srinivasan d81b2ddaaa Renamed 'State' to 'state' to avoid exposing the insides of the engine
Aadhavan Srinivasan 429d286439 Renamed variable to avoid conflicting with type name
Aadhavan Srinivasan 198a2c12a7 Renamed variable to avoid conflicting with type name
Aadhavan Srinivasan 7e88b8a4b0 Renamed variable to avoid conflicting with type name
Aadhavan Srinivasan af5b6ebe08 Renamed type to avoid exporting
Aadhavan Srinivasan 289bba35e2 Updated assertion constants so that they aren't exported
Aadhavan Srinivasan 7e6377a4c4 Updated more constants, so that they aren't exported
Aadhavan Srinivasan 73c6a442ce Updated nodeType constants so that they aren't exported
Aadhavan Srinivasan ca8f8e1030 Renamed function
Aadhavan Srinivasan 24a5045ebe Updated map and reduce function names so that they aren't exported
Aadhavan Srinivasan f6d56b74e1 Updated module name to 'kleingrep' (Let's goo!)
Aadhavan Srinivasan dc53951408 Update package name in import