Moved the quote regexp upper so that it is matched in priority