Moved code around in padNum, made negative digits argument be precision
Made fdjtState.local functions take regexes and added fdjtState.findLocal to do searches