[osis-core] Substitute for regex

Patrick Durusau osis-core@bibletechnologieswg.org
Sat, 18 Oct 2003 07:04:38 -0400


Guys,

Just could not leave it alone!

Try substituting:

<xs:pattern value="((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_))?:)(\c)*)"/>

For the osisGenRegex now in the schema.

Note that it still allows ":" as part of the second part. Probably 
should do something like: (\c-[:]) for the second group so Todd won't 
have to count colons. Hmmm, that doesn't sound quite right does it? ;-)

Have some heavy topic map reading to do this morning so look for calls 
in the early afternoon East Coast time.

Hope everyone is having a great day!

Patrick

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
Patrick.Durusau@sbl-site.org
Chair, V1 - Text Processing: Office and Publishing Systems Interface
Co-Editor, ISO 13250, Topic Maps -- Reference Model

Topic Maps: Human, not artificial, intelligence at work!