Making the regex for the filter naively  os agnostic