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

fix

parent 1a07d321
...@@ -28,8 +28,8 @@ func Match(expr, s string) bool { ...@@ -28,8 +28,8 @@ func Match(expr, s string) bool {
return New(expr).MatchString(s) return New(expr).MatchString(s)
} }
func FindAll(expr, s string, n int) []string { func FindAll(expr, s string) []string {
return New(expr).FindAllString(s, n) return New(expr).FindAllString(s, -1)
} }
func Find(expr, s string) string { 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