Be flexible matching pattern to search suitable region.

Related by #29