Re: regex, number of matches



John Bokma schreef:
> Dr.Ruud:
>> Abigail:
>>
>>> [$&]
>>> it's not easy to determine those special circumstances.
>>
>> How about something like '\&' that can only be used in the
>> replace-part?
>
> Just because you don't want to use () in the regexp part?

The answer is in "can only be used in the replace-part".

With () you need $1, and that involves setting up a variable.

So no, not only because I etc.

--
Affijn, Ruud

"Gewoon is een tijger."


.