Enforce limit in smart regexp format extractor