Regex named-group and backreference syntax

Alan Moore uncle.alice at gmail.com
Wed Sep 2 23:46:31 UTC 2009


On Wed, Sep 2, 2009 at 3:21 PM, Xueming Shen<Xueming.Shen at sun.com> wrote:
>
> RFE#6878475 has been filed to trace this issue.
>
> At this point we are going to update the doc and implementation to
> (1)disallow the group name started with digit character
> (2)use ${name} for the group reference in replacement string.

Great! Thank you.

> The \k<n> and ${n} can leave for further discussion (whether or not we
> really need this NEW feature, while there is existing syntax that can
> do the job just fine).

Agreed--it's a separate issue. But at least now we'll have the option.



More information about the core-libs-dev mailing list