care regexp meta characters, especially '.'

In current implemention, 'hoge.fuga' matches 'hogeafuga'. It is unexpected behaviour.