[tei-council] @points again, in relaxng
Sebastian Rahtz
sebastian.rahtz at oucs.ox.ac.uk
Sun Oct 17 18:53:59 EDT 2010
We agreed a few weeks ago that we wanted @points to accept 3 or more comma-separated pairs of
numbers. So in RELAXNG that may be
xsd:token { pattern = "[0-9]+,[0-9]+" }
but then we said we also wanted real numbers and negative numbers.
So how exactly _does_ one say that in regexp land?
lord help us, is it
-?[0-9]+\.?[0-9]*,-?[0-9]+\.?[0-9]*
or am I being dense?
--
Sebastian Rahtz
Information and Support Group Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
Sólo le pido a Dios
que el futuro no me sea indiferente
More information about the tei-council
mailing list