util/regexp.sh

Util for regular expression.

RegExp()

Regular expression.

RegExp_find_string()

Return a string of the leftmost match; empty otherwise.

RegExp_find_string_index()

Return list with two elements (start and end loc of string).

RegExp_find_string_submatch()

Match and group matches.

RegExp_match_string()

Return true if string matches this regexp.

RegExp_to_string()

Original regular expression string.

regexp_compile()

Save regular expression.

regexp_match_string()

Return true if string contains any match for re.