Adding reverting Options for RegularExpression