regex - Use grep to find strings with consecutive same letters -


how use grep -ie find strings 2 groups of consecutive same letters. 2 groups not overlap. grep e allowed.

already found answer:

grep -ie '([a-z])\1.*([a-z])\2' 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -