|
3cfc2a6854
|
Updated Makefile
|
2025-02-01 18:52:26 -05:00 |
|
|
5d7a02e796
|
Added gcflags to go build
|
2025-02-01 18:51:58 -05:00 |
|
|
a46d2f4546
|
Updated comments
|
2025-02-01 18:07:31 -05:00 |
|
|
c88ebd1aa5
|
Added comments explaining what a Match is
|
2025-02-01 18:05:55 -05:00 |
|
|
fd102292c6
|
Added example for FindSubmatch
|
2025-02-01 18:05:43 -05:00 |
|
|
6d692d0dfc
|
Rename Group.toString() to Group.String()
|
2025-02-01 12:51:32 -05:00 |
|
|
7c4538a259
|
Added 'example' file that contains testable examples
|
2025-02-01 12:50:49 -05:00 |
|
|
2a9ae0b68a
|
Wrote test for 'FindSubmatch'
|
2025-02-01 11:09:05 -05:00 |
|
|
783ae2ad10
|
Updated call to 'isValid' with call to 'IsValid'
|
2025-02-01 11:06:26 -05:00 |
|
|
b5e6bc112c
|
Wrote 'reg.FindSubmatch()' which returns the leftmost match with submatches, renamed 'isValid' to 'IsValid' to export it, renamed 'ToString' to 'String'
|
2025-02-01 11:06:03 -05:00 |
|
|
206fea34cd
|
Added function to return the number of subexpressions in the group
|
2025-02-01 11:04:49 -05:00 |
|
|
fcdb23524a
|
Added more documentation
|
2025-02-01 11:04:24 -05:00 |
|
|
ac936659b6
|
Updated documentation
|
2025-01-31 16:52:26 -05:00 |
|
|
e6dba9fdcf
|
Updated documentation
|
2025-01-31 16:51:46 -05:00 |
|
|
30779a446b
|
Updated documentation
|
2025-01-31 16:46:19 -05:00 |
|
|
f629a0f08f
|
Added 'mustCompile' which panicks if there is an error compiling
|
2025-01-31 16:46:05 -05:00 |
|
|
6869cd00a2
|
Return error instead of nil when 'Find' fails
|
2025-01-31 10:52:38 -05:00 |
|
|
02bc8f30a2
|
Added test for 'Find'
|
2025-01-31 10:52:27 -05:00 |
|
|
ac05bceda3
|
Use method instead of function
|
2025-01-31 10:13:02 -05:00 |
|
|
037ac75ea6
|
Wrote new method to return 0-group of leftmost match; reorganized some functions for better clarity; made 'FindNthMatch' a method
|
2025-01-31 10:12:53 -05:00 |
|
|
e9d4e857cf
|
Run 'TestFindAllStrings' since that function has been implemented
|
2025-01-31 10:11:52 -05:00 |
|
|
b685d2fd5f
|
Renamed 'findAllMatchesHelper' to 'findAllSubmatchHelper'
|
2025-01-31 09:56:30 -05:00 |
|
|
8eda5055ff
|
Replaced call to 'FindAllMatches' with call to 'FindAll' or 'FindAllSubmatch' depending on whether I need submatches
|
2025-01-31 09:55:36 -05:00 |
|
|
45b6566b2c
|
Replaced function call with method call
|
2025-01-31 09:54:35 -05:00 |
|
|
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'
|
2025-01-31 09:54:09 -05:00 |
|
|
692de2a32b
|
Added lookarounds and numeric ranges to documentation
|
2025-01-31 09:26:21 -05:00 |
|
|
0d19664044
|
Cleared up some comments, wrote a skeleton for FindAllString
|
2025-01-30 22:57:35 -05:00 |
|
|
1bfb09b6c7
|
Made 'FindString' a method of 'Reg'
|
2025-01-30 22:51:31 -05:00 |
|
|
b0b8bf23af
|
Updated documentation
|
2025-01-30 22:51:16 -05:00 |
|
|
00570f07fe
|
Wrote documentation on syntax
|
2025-01-30 17:51:46 -05:00 |
|
|
7431b1a7b2
|
Changed \Z to \z to fit with Go's naming
|
2025-01-30 15:08:18 -05:00 |
|
|
ee51e39d59
|
Added support for start-of-input (\A) and end-of-input (\Z) assertions
|
2025-01-30 13:56:56 -05:00 |
|
|
db7c884b83
|
Added test for start-of-input and end-of-input assertion
|
2025-01-30 13:56:26 -05:00 |
|
|
c3059fe899
|
Return a new error instead of rethrowing a non-existent error
|
2025-01-30 13:47:51 -05:00 |
|
|
4f577592ba
|
Added rule to run tests
|
2025-01-30 13:46:41 -05:00 |
|
|
b734d61a03
|
Throw error if \B is used in character class
|
2025-01-30 12:27:22 -05:00 |
|
|
00c39857eb
|
Rethrow errors instead of rewriting them
|
2025-01-30 12:26:50 -05:00 |
|
|
aa9e2324ee
|
Removed unnecessary space
|
2025-01-30 11:25:19 -05:00 |
|
|
66b96bf9e8
|
Updated license
|
2025-01-30 11:20:05 -05:00 |
|
|
0ac39bfb7b
|
Started working on package-level documentation
|
2025-01-30 11:19:53 -05:00 |
|
|
dbc9fe2c3b
|
Added license
|
2025-01-30 11:08:28 -05:00 |
|
|
eeeb9387d5
|
Updated Makefile to build library and command separately
|
2025-01-30 10:58:33 -05:00 |
|
|
57eb935bd1
|
Updated comment
|
2025-01-30 10:48:59 -05:00 |
|
|
cbd679949f
|
Updated more referencs to constants
|
2025-01-30 10:47:35 -05:00 |
|
|
a63426d965
|
Updated references to constants
|
2025-01-30 10:47:01 -05:00 |
|
|
2e3450285c
|
Renamed one more variable to avoid exporting
|
2025-01-30 10:45:11 -05:00 |
|
|
7e792f1248
|
Renamed more constants to avoid exporting
|
2025-01-30 10:44:34 -05:00 |
|
|
b8f5b9af7c
|
Updated one more reference to epsilon
|
2025-01-30 10:39:00 -05:00 |
|
|
be60f2fb51
|
Updated references to 'epsilon'
|
2025-01-30 10:38:26 -05:00 |
|
|
7aee4280cc
|
Renamed 'EPSILON' to 'epsilon' to avoid exporting
|
2025-01-30 10:36:10 -05:00 |
|