1.split all texts to allow apllying on chinese string
2.take two files as input texts
remove non-necessary code in scanpattern
delete test code
Matches can only be occluded by sibling tiles
Change mark method to avoid error when there are '*' in P or T