why with regexp?
what do you mean by scalar? a string?