On 2 Jan 2016, at 9:11, RW wrote:
1. \d{1,2}+ doesn't make any sense, you need either {1,2} or +
It's a bit esoteric, but here's what the perlre man page says:{n,m}+ Match at least n but not more than m times and give nothing back
Put another way: possessive but not greedy. In some REs it is useful to prevent backtracking. In this one there's no chance of that, but its harmless.