On 26/04/07 05:04 A. Pagaltzis wrote: > Wow. So what new way of writing the following do they propose? > > if [[ $string =~ ' foo ' ]] ; then ...
Apparently it's
if [[ $string =~ \ foo\ ]] ; then ...
which looks to my Perl-stained eyes like / foo/ (no trailing whitespace).
Non-denumerably hateful.
