std-strlist-match


Synopsis

(std-strlist-match <strlst> <match>) ; like equal but uses wcmatch

Description

STD-STRLIST-MATCH returns all matching elements in strlst which match if the comparison is done with WCMATCH.

Example

(std-strlist-match '("Testname" "0" "Testlayer") "Test*") 
=> ("Testname" "Testlayer")

Arguments

strlst: a list of strings

match: any valid regular expression suitable for WCMATCH.

Return Value

A list of all matching elements or nil.

Side Effects

None.

Module

(std-require 'STDSTR)

Defined in STDSTR