Add implementation of glob regex myself.

But only preprocess iniital version written,
and not tested yet.