Fixed regex of NP