better regexs for pillar creation