Commit f3a484a5 authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix

parent a5ad0643
......@@ -28,8 +28,8 @@ func Match(expr, s string) bool {
return New(expr).MatchString(s)
}
func FindAll(expr, s string) []string {
return New(expr).FindAllString(s, -1)
func FindAll(expr, s string) [][]string {
return New(expr).FindAllStringSubmatch(s, -1)
}
func Find(expr, s string) string {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment