improve regex and add more test cases
add gitignore
add MetaResources to dist.ini