Gerald Lai wrote:
In the same context, <pat1> should instead be: /^\%(.*bar\)[EMAIL PROTECTED] and both patterns match the same.
And so they do! (with your pattern having .* again, which is unnecessary for :g... as you mentioned).
Regards, Chip Campbell