You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aadhavan Srinivasan
71cab59a89
Instead, I tweaked the rest of the matching function, so that a special check isn't necessary. If we are trying to match at the end of a string, we skip any of the actual matching and proceed straight to finding 0-length matches. This change was made because, with the special case, capturing groups weren't getting updated if we had an end-of-string match. |
1 week ago | |
---|---|---|
.gitignore | 2 months ago | |
Makefile | 2 months ago | |
go.mod | 2 months ago | |
go.sum | 2 months ago | |
main.go | 2 weeks ago | |
matching.go | 1 week ago | |
misc.go | 2 weeks ago | |
nfa.go | 2 weeks ago | |
postfixNode.go | 2 weeks ago | |
range2regex.go | 4 weeks ago | |
re_test.go | 2 weeks ago | |
sliceQueue.go | 2 months ago | |
stateContents.go | 2 months ago | |
todo.txt | 2 weeks ago | |
unique_array.go | 2 months ago |