/ Dave Pawson <[EMAIL PROTECTED]> was heard to say:
| No answer, let me try again.
|
| In java I can do
|
|       String ems="[a-zA-Z0-9!\\#$%&'*+\\-/=?\\^_`{|}~]+
|         (\\.[a-zA-Z0-9!\\#$%&'*+\\-/=?\\^_`{|}~]+)[EMAIL PROTECTED]";
|
|       Pattern emp=Pattern.compile (ems,Pattern.COMMENTS);
|
| which allow the regex to be laid out more clearly for comprehension
| (by the reader).
| Is there any way this can be used in relax-ng XML syntax please?

I don't think so. Certainly when the XSL/XML Query WGs were trying to
define durations with a regex, we ended up with hugely long strings and
no one suggested it.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[EMAIL PROTECTED]> | A man can believe a considerable deal
http://nwalsh.com/            | of rubbish, and yet go about his daily
                              | work in a rational and cheerful
                              | manner.--Norman Douglas

Attachment: pgp5qpMScyiQl.pgp
Description: PGP signature

Reply via email to