Arran Cudbard-Bell wrote:
> Also gets very uggly when you multiple instances of a subcapture group
> e.g :
>
> ^(a|b){3}(.)$
>
> So you have to write them out in full :
>
> ^(a|b)(a|b)(a|b)(.)^
Why?
^((a|b){3})(.)$ with input "aaax"
%{1} => aaa
%{2} => a
%{3} => x
Alan DeKok.