Validate regular expressions

Is there a method to validate in a schema that an element's or
attribute's content is a valid regular expression? (I do not want to
test if the content *matches* a regular expression, but if it *is* one.
Maybe this boils down to a regular expression for regular expressions,
but is there another method?)

Any help welcome.
s.m.

Received on Thursday, 6 December 2007 21:27:54 UTC