check result of regexp are properly
Merge pull request #45 from hmatsuda/fix-error-to-open-asset

check result of regexp are properly