Hold down shift + alt + right mouse click
It is easier to use shift+Double click or Double click.
At least as of Blender version 3.0.0, you can also double-left-click to select edge loops (and face loops if you are in face select mode).