Initialize spec for RegexExtractor