[tei-council] @points again, in relaxng
Laurent Romary
laurent.romary at inria.fr
Mon Oct 18 00:05:59 EDT 2010
I am with Lou here.
Laurent
Le 18 oct. 10 à 01:14, Lou Burnard a écrit :
> To be more exact I think we actually said we wanted pairs of
> data.numerics (which allows real numbers and negative numbers and lord
> save us vulgar fractions too)
>
> so surely we shouldn't be defining a specific pattern here?
>
>
> On 17/10/10 23:53, Sebastian Rahtz wrote:
>> 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
>>
>>
>>
>>
>>
>> _______________________________________________
>> tei-council mailing list
>> tei-council at lists.village.Virginia.EDU
>> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
>
> _______________________________________________
> tei-council mailing list
> tei-council at lists.village.Virginia.EDU
> http://lists.village.Virginia.EDU/mailman/listinfo/tei-council
Laurent Romary
INRIA & HUB-IDSL
laurent.romary at inria.fr
More information about the tei-council
mailing list