Yes, grep works with arbitrary expressions. Just remember that every single value in the array is aliased to $_ inside the grep (i.e. $_ is a placeholder for the array value).
In reply to Re^2: how to select which words have Y and W
by jethro
in thread how to select which words have Y and W
by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |