Regular expressions for annotations parsing