delete RegexManager