I am reading “Programming Ruby” [a.k.a. Pickaxe]
and I found example
print if /a/ … /e/
but one does not work. However, after changing it to:
print if (/a/=~$) … (/e/=~$)
But, what is the problem with the first version?