= core: modified version of GlobPathFilter and improve GlobPahFilterSpec