real decoding with regexification