There is no need for the boolean results from the library functions, specifically Match, since it can just return the list of captures or nil. As for Find, I'm not sure what makes the most sense, but we can also do []int [][]byte and have the same behavior that avoids magic values.
There is no need for the boolean results from the library functions, specifically Match, since it can just return the list of captures or nil. As for Find, I'm not sure what makes the most sense, but we can also do []int [][]byte and have the same behavior that avoids magic values.