Match a path against a glob pattern. Support:
*
/
?
**
solve('src/*.ts', 'src/index.ts') → true.
solve('src/*.ts', 'src/index.ts')
true
Sample tests