(bind-func regex_matches (lambda (regex:i8* str:String* max) (regex_matches:[List{String*}*,i8*,i8*,i64]* regex (cstring str) max)))