Patrick Woolsey <[EMAIL PROTECTED]> wrote on 9/7/06 at 4:44 PM:

> A named subpattern is one of the form:
> 
> (?P<name>...)
> 
> 
> where "name" is any simple alphanumeric string you wish, and "..." is any
> expression usually permissible in a subpattern.
> 
> Once you've included such a subpattern you can refer to it again in the
> search pattern as follows:
> 
> (?P=name)

And you can refer to in a replacement pattern like so:

    \P<name>

which I haven't seen documented anywhere yet (said the beta-tester
who should have caught this and reported it before 8.5 shipped...).

Greptastically yours,

-J.G.

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to