added regexpr