How to understand ‘(\w)((?=\1\1\1)(\1))+’

Code:
echo  "aaa ffffff 999999999" |grep -oP  ‘(\w)((?=\1\1\1)(\1))+’
ffff
9999999

Why for six […]

Original post by whaha

Leave a Reply