finally solved the bug of matcher - regexp didn't work when '\' was in the string