Fixes regexp-based parsing for wave argument for query_legacy
Fixes regexp-based parsing for wave argument for query_legacy

Alex-Ian-Hamilton/sunpy,dpshelio/sunpy,mjm159/sunpy,Alex-Ian-Hamilton/sunpy,mjm159/sunpy,Alex-Ian-Hamilton/sunpy,dpshelio/sunpy,dpshelio/sunpy