use rdfapi regex instead of custom regex