adding test for placeholders in the RegexSpecTest