First set calculation added to RegularExpression