Skip to main content

regexp

Discworld efun help

regexp

string *regexp(string *list, string pattern)

It takes an array 'list' of strings, and returns a new array of the strings that matched 'pattern'. The pattern is a ed like search and replace pattern. See ed for more help.