Matching only d-> and q->, not anythingd-> and anythingq->