Check if glob pattern is suffix, i.e. starts with '*' and does not have special glob match characters in the rest of pattern.
assert(isSuffix("*.jpg")); assert(!isSuffix("")); assert(!isSuffix("*")); assert(!isSuffix("*dir[0-9]"));
See Implementation
Check if glob pattern is suffix, i.e. starts with '*' and does not have special glob match characters in the rest of pattern.