update readme

replace "xpath" with "sed"
added priority usage to optional
update regex for error parsing
Merge pull request #3 from cj123/master

update readme for new usage and modify regex to remove "</" showing on some platforms