> > You are right. Since you can put it into a group, it is not possible > > to prevent repetitions. However the rule that empty matches break > > (non-fixed) loops may solve this problem. > ... but it's not an empty match.
If we consider the following pattern: /(*napla:a|a)+/ is the same as: /(?:(*napla:a|a))+/ Then we have an empty match if I understand correctly the behavior of this new construct. Regards, Zoltan -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev