match scale names at boundary only