regmatch regpat string [function]
-
- searches for an occurence of a regular
expression, regpat in string.
If found, a list of the starting index and the ending index
of the found pattern is returned.
example;
(regmatch "ca[ad]+r" "any string ...") will look for cadr, caar, cadadr ...
in the second argument.
k-okada
2013-05-21