From 1b48f6b7799c3352053291d223970f56c50423bf Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 9 Oct 2005 21:35:03 +0000 Subject: [PATCH] r520: Removing the yummy regex tests --- includes/functions_product.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/functions_product.php b/includes/functions_product.php index 1badb44..f4b643b 100644 --- a/includes/functions_product.php +++ b/includes/functions_product.php @@ -150,14 +150,6 @@ function parse_pcv_select($input, $validate = false) $input = trim($input); - /* - yummy regex tests.... - var_dump(preg_match('#^p(\d+?)c(\d+?)v(\d+?)$#', $input)); - var_dump(preg_match('#^p(\d.+?)c(\d.+?)v(\d.+?)$#', $input)); - var_dump(preg_match('#^p([0-9]+?)c([0-9]+?)v([0-9]+?)$#', $input)); - var_dump(preg_match('#^p([0-9].+?)c([0-9].+?)v([0-9].+?)$#', $input)); - */ - if (preg_match('#^p(\d+?)c(\d+?)v(\d+?)$#', $input) == 0) { return false; -- 2.22.5