Add RegexExpression class with appropriate unit tests