|
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.
http://www.tin.org/bin/man.cgi?section=7&topic=regex
--
Jock
Navigation:
[Reply to this message]
|