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
In reply to Re^2: How to replace greedy alternation?
by adamcrussell
in thread How to replace greedy alternation?
by adamcrussell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |