Commit Graph

63 Commits (posixStyleMatching)

Author SHA1 Message Date
Aadhavan Srinivasan ef476e8875 Reverse the order of the numeric range before adding it, to maintain compatibility with PCRE matching rules (even though I don't implement them, if I do in the future) 3 months ago
Aadhavan Srinivasan 7e6b02632f Added more tests; commented out tests that I am failing 3 months ago
Aadhavan Srinivasan f94e3f2e71 Added comments 3 months ago
Aadhavan Srinivasan b129d83c3f Added function to reset threads 3 months ago
Aadhavan Srinivasan 43aa7b5876 Updated documentation 3 months ago
Aadhavan Srinivasan 9a3bfca313 Renamed unique_append to uniqueAppend 3 months ago
Aadhavan Srinivasan b6ab54f6dd Reset threads when findAllSubmatchHelper is called 3 months ago
Aadhavan Srinivasan 6a96c98d04 Fixed bug where the regex '(()|.)(b)' wouldn't compile 3 months ago
Aadhavan Srinivasan a46d2f4546 Updated comments 3 months ago
Aadhavan Srinivasan c88ebd1aa5 Added comments explaining what a Match is 3 months ago
Aadhavan Srinivasan fd102292c6 Added example for FindSubmatch 3 months ago
Aadhavan Srinivasan 6d692d0dfc Rename Group.toString() to Group.String() 3 months ago
Aadhavan Srinivasan 7c4538a259 Added 'example' file that contains testable examples 3 months ago
Aadhavan Srinivasan 2a9ae0b68a Wrote test for 'FindSubmatch' 3 months ago
Aadhavan Srinivasan 783ae2ad10 Updated call to 'isValid' with call to 'IsValid' 3 months ago
Aadhavan Srinivasan b5e6bc112c Wrote 'reg.FindSubmatch()' which returns the leftmost match with submatches, renamed 'isValid' to 'IsValid' to export it, renamed 'ToString' to 'String' 3 months ago
Aadhavan Srinivasan 206fea34cd Added function to return the number of subexpressions in the group 3 months ago
Aadhavan Srinivasan fcdb23524a Added more documentation 3 months ago
Aadhavan Srinivasan ac936659b6 Updated documentation 3 months ago
Aadhavan Srinivasan e6dba9fdcf Updated documentation 3 months ago
Aadhavan Srinivasan 30779a446b Updated documentation 3 months ago
Aadhavan Srinivasan f629a0f08f Added 'mustCompile' which panicks if there is an error compiling 3 months ago
Aadhavan Srinivasan 6869cd00a2 Return error instead of nil when 'Find' fails 3 months ago
Aadhavan Srinivasan 02bc8f30a2 Added test for 'Find' 3 months ago
Aadhavan Srinivasan 037ac75ea6 Wrote new method to return 0-group of leftmost match; reorganized some functions for better clarity; made 'FindNthMatch' a method 3 months ago
Aadhavan Srinivasan e9d4e857cf Run 'TestFindAllStrings' since that function has been implemented 3 months ago
Aadhavan Srinivasan b685d2fd5f Renamed 'findAllMatchesHelper' to 'findAllSubmatchHelper' 3 months ago
Aadhavan Srinivasan 8eda5055ff Replaced call to 'FindAllMatches' with call to 'FindAll' or 'FindAllSubmatch' depending on whether I need submatches 3 months ago
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' 3 months ago
Aadhavan Srinivasan 692de2a32b Added lookarounds and numeric ranges to documentation 3 months ago
Aadhavan Srinivasan 0d19664044 Cleared up some comments, wrote a skeleton for FindAllString 3 months ago
Aadhavan Srinivasan 1bfb09b6c7 Made 'FindString' a method of 'Reg' 3 months ago
Aadhavan Srinivasan b0b8bf23af Updated documentation 3 months ago
Aadhavan Srinivasan 00570f07fe Wrote documentation on syntax 3 months ago
Aadhavan Srinivasan 7431b1a7b2 Changed \Z to \z to fit with Go's naming 3 months ago
Aadhavan Srinivasan ee51e39d59 Added support for start-of-input (\A) and end-of-input (\Z) assertions 3 months ago
Aadhavan Srinivasan db7c884b83 Added test for start-of-input and end-of-input assertion 3 months ago
Aadhavan Srinivasan c3059fe899 Return a new error instead of rethrowing a non-existent error 3 months ago
Aadhavan Srinivasan b734d61a03 Throw error if \B is used in character class 3 months ago
Aadhavan Srinivasan 00c39857eb Rethrow errors instead of rewriting them 3 months ago
Aadhavan Srinivasan aa9e2324ee Removed unnecessary space 3 months ago
Aadhavan Srinivasan 0ac39bfb7b Started working on package-level documentation 3 months ago
Aadhavan Srinivasan 57eb935bd1 Updated comment 3 months ago
Aadhavan Srinivasan cbd679949f Updated more referencs to constants 3 months ago
Aadhavan Srinivasan a63426d965 Updated references to constants 3 months ago
Aadhavan Srinivasan 2e3450285c Renamed one more variable to avoid exporting 3 months ago
Aadhavan Srinivasan 7e792f1248 Renamed more constants to avoid exporting 3 months ago
Aadhavan Srinivasan b8f5b9af7c Updated one more reference to epsilon 3 months ago
Aadhavan Srinivasan be60f2fb51 Updated references to 'epsilon' 3 months ago
Aadhavan Srinivasan 7aee4280cc Renamed 'EPSILON' to 'epsilon' to avoid exporting 3 months ago