use regex for os name matching