Reply to Re: Using backreferences within a pattern using eregi_replace
Posted by John Dunlop on 12/20/05 21:31
Martin Lucas-Smith wrote:
> Is there any way to use backreferences _within_ a _pattern_, as works on
> some regexp parsing applications, i.e.
>
> '<a href="mailto:([^@]*)@([^"]*)">\\1@\\2</a>'
> =>
> '\\1@\\2'
Backreferences are obsolete in POSIX 1003.2. PCREs support them.