[osis-core] OSIS work regex

Todd Tillinghast osis-core@bibletechnologieswg.org
Tue, 13 Aug 2002 05:47:35 -0600


I haven't tested it but this looks like it would require a "." at then
end of a single text value identifier.  In fact it would always leave a
"." at the end.

Is <xs:pattern value = "([\L\N]([\.\L\N]*)?)" /> what you mean?

This allows 
Bible.TEV
Bible

And does not require
Bible.TEV.
Bible.


Todd
> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
> core@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Tuesday, August 13, 2002 5:22 AM
> To: osis-core
> Subject: [osis-core] OSIS work regex
> 
> Guys,
> 
> Doing this a bit at a time to avoid debugging the entire expression.
;-)
> 
> For the work portion:
> 
> <xs:pattern value = "([\L\N\.]([\L\N\.]*)?)" />
> 
> By which I am trying to say, any letter or number combination,
followed
> by a period is complusory, followed by any number of optional
> letter/number combinations that also end in a period (periods,
hyphens,
> etc., being excluded from the work name).
> 
> So far, so good?
> 
> Next regex portion will be the canon portion.
> 
> Patrick
> 
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
>