in reply to Re: How to replace greedy alternation?
in thread How to replace greedy alternation?
This will simply return 3. If I want 3 chars in any order and this command returns 3 than I had a successful match of all 3 in any order!echo 1b22cc333a | egrep -o 'a|b|c' | sort -u | wc -l
|
|---|