Regex updated after Marko's review.