regex of pyndn