[osis-core] Regexes I am adding to the schema

Patrick Durusau osis-core@bibletechnologieswg.org
Tue, 13 Aug 2002 08:23:06 -0400


This is a multi-part message in MIME format.
--------------060602070805040507010305
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Guys,

Fixing to add the following regexes to the schema to check for 
validation problems. (yes, the last one is ugly but not as bad as some I 
have written for this project.)

osisWork = "([\L\N]([\.\L\N]*)?)

osisID = "((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?))"

osisRef = "((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?))(@(cp:([\Nd])* 
| str\[([\L])*\]))?(-((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?)))?"

(I have also attached them as an ASCII file.)

Patrick

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu


--------------060602070805040507010305
Content-Type: text/plain;
 name="osis-regex.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="osis-regex.txt"


osisWork = "([\L\N]([\.\L\N]*)?)"


osisID = "((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?))"


osisRef = "((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?))(@(cp:([\Nd])* | str\[([\L])*\]))?(-((([\L\N]([\.\L\N]*)?):)?([\L\N]([\.\L\N]*)?)))?"


--------------060602070805040507010305--