use Regex::Common to detect IP and pass filter query