Chet Ramey wrote:
> It seems reasonable that quoting any part of the rhs to the =~
> operator should cause it to behave in the same manner.
>
> Since the arguments to [[ don't undergo any of the expansions that
> require quoting to protect them, there's no reason for =~ to act
> differently than the other operators that do pattern matching.
That makes sense to me. Thanks for the clarification and education.
Bob