Ticket #52 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

\<match>-syntax does not work correctly with preg_*()

Reported by: anonymous Assigned to:
Priority: major Milestone: 2.3.0
Component: Version:
Keywords: preg_replace preg_match Cc:

Description

phing.util.regexp.PregEngine->replace() tries to replace \1 with $1 but uses an incorrect match-string for it. Fix appended

Attachments

phing-fix-preg.diff (0.7 kB) - added by lars@strojny.net on 12/17/06 01:43:55.
Fix for phing.util.regexp.PregEngine.php

Change History

12/17/06 01:43:55 changed by lars@strojny.net

  • attachment phing-fix-preg.diff added.

Fix for phing.util.regexp.PregEngine.php

12/28/06 11:27:33 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r131, thanks!


Add/Change #52 (\<match>-syntax does not work correctly with preg_*())




Action