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.
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. |
3 months ago | |
---|---|---|
.gitignore | 5 months ago | |
Makefile | 5 months ago | |
go.mod | 4 months ago | |
go.sum | 5 months ago | |
main.go | 3 months ago | |
matching.go | 3 months ago | |
misc.go | 3 months ago | |
nfa.go | 3 months ago | |
postfixNode.go | 3 months ago | |
range2regex.go | 3 months ago | |
re_test.go | 3 months ago | |
sliceQueue.go | 4 months ago | |
stateContents.go | 4 months ago | |
todo.txt | 3 months ago | |
unique_array.go | 4 months ago |