supportsPatternLists
Recognize beside the normal patterns also the extended patterns introduced in ksh
. Equivalent to FNM_EXTMATCH
.
var supportsPatternLists: Bool
The patterns are written in the form explained in the following table where pattern-list is a | separated list of patterns.
?(pattern-list) The pattern matches if zero or one occurences of any of the patterns in the pattern-list allow matching the input string.
*(pattern-list) The pattern matches if zero or more occurences of any of the patterns in the pattern-list allow matching the input string.
+(pattern-list) The pattern matches if one or more occurences of any of the patterns in the pattern-list allow matching the input string.
@(pattern-list) The pattern matches if exactly one occurence of any of the patterns in the pattern-list allows matching the input string.
!(pattern-list) The pattern matches if the input string cannot be matched with any of the patterns in the pattern-list.