streamlined query calls using regex