The following command will highlight 4 a's instead of 3 a's. I just want to match for no more than 3 a's. Is there anything wrong with the regex that I use?
pcregrep --color 'a{0,3}' <<< aaaabbb
The following command will highlight 4 a's instead of 3 a's. I just want to match for no more than 3 a's. Is there anything wrong with the regex that I use?
pcregrep --color 'a{0,3}' <<< aaaabbb