make pattern final static field
updated rtext
fix parse exception when file starts with an annotation. Fixes #26