simpler and common config parser for regexp lists