Arbortext Command Language > Functions by Alphabetical Listing > match
  
match
match(string, regexp)
This function searches string for the first substring matching regexp. regexp is a regular expression, the same as for the caret commands or looking_at function except that tag delimiters < and > are not meta-characters. match returns an index of start of match, if match succeeds, or 0 if the match fails.
Related topic
Using regular expressions