(post removed)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

The \\1 thing is normally used with ereg expressions not preg.

Try using $1 instead... but remember that it's zero-based so your first pattern match will be $0, the second will be $1, and so on.
Post Reply