Correction to regex processing within sparql queries

Correction to regex processing within sparql queries