trying to use regex against query var