From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 7
PHP version:      4.0.4pl1
PHP Bug Type:     Scripting Engine problem
Bug description:  Comments and regular expressions make problems

This is a problem:

        $pnr=preg_replace("/[a-zA-Z]*/", "", $pnr);

As you can see this is a line that has been commented out.
The problem is that the engine thinks that the "*/" within the REGEX itself is the end 
of the comment making it impossible to comment this line out.
This is a big problem if you have a whole block of expressions containing REGEX which 
you want to comment out!

What about a fix?

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to