From: RolandD C. P. <co...@cs...> - 2010-01-31 08:30:30
|
Hello, I have a regular expression in my code that makes the PHPParser trip. In my code I have: > if (!preg_match("/^[0-9]*$/", $post['quantity'][$p_key])) { The PHPParser trips on the $ in the expression and says: unexpected token: $ expression expected Due to this error the file does not get parsed. Anybody has an idea how to fix this? Thanks, Roland Dalmulder |