Re: [PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-07 Thread Andrei Zmievski
On Mon, 06 Aug 2001, [EMAIL PROTECTED] wrote: ID: 12477 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: I was trying to have to walk the array twice. The

RE: [PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-07 Thread Grant Walters
On Mon, 06 Aug 2001, [EMAIL PROTECTED] wrote: ID: 12477 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: I was trying to have to walk the array

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread andrei
ID: 12477 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PCRE related Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: That's right, you need to escape $ in your replacement strings. Previous Comments:

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread Grant . Walters
ID: 12477 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: PCRE related Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: Is it possible to ask that the this be included as a new feature? A switch to tell the PCRE engine? to ignore

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread andrei
ID: 12477 Updated by: andrei Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: PCRE related Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: If you don't want to use \n or $n substitution, then maybe you are better off using str_replace()? Previous Comments:

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread andy
ID: 12477 Updated by: andy Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Old Bug Type: PCRE related Bug Type: Feature/Change Request Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: reopened and reclassified as a feature request. Previous Comments:

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread andrei
ID: 12477 Updated by: andrei Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: To QA people (Andy): please don't be hasty. Previous Comments:

[PHP-DEV] Bug #12477 Updated: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)

2001-08-06 Thread Grant . Walters
ID: 12477 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Feature/Change Request Operating System: Linux and SCO PHP Version: 4.0.6 New Comment: I was trying to have to walk the array twice. The following works: $pagevars =