fix remarks w.r.t. which function and available regex