toRegex()
toRegex(string $glob, bool $strictLeadingDot = true, bool $strictWildcardSlash = true, string $delimiter = '#') : string
Returns a regexp which is the equivalent of the glob pattern.
Parameters
string | $glob | |
bool | $strictLeadingDot | |
bool | $strictWildcardSlash | |
string | $delimiter |