Regex Pattern outsourced...

-identifier pattern edited: now whitespaces between identifiers are
allowed