patplex: Fixed regex compilation bug.