diff --git a/strings.scad b/strings.scad index a7b6372..c647c76 100644 --- a/strings.scad +++ b/strings.scad @@ -150,6 +150,7 @@ function _str_find_all(str,pattern) = // comparison methods were slower. function substr_match(str,start,pattern) = assert(is_str(str)) + assert(is_str(pattern)) len(str)-start