[osis-core] Grain regex

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


Guys,

Thanks to Todd's timely help (must be up early (or late)) I have been 
able to avoid a rather serious error in the regex expressions. Not that 
some won't remain but at least one avoided.

Suggested grain syntax:

<xs:pattern value="(@(cp([\Nd])* | str\[([\L])*\]))?" />

I went ahead an put the optional parens around grain.

Note that I am escaping square brackets that will act as a container for 
the value that follows str.

OK, onward to putting some of it together into a fuller regex!

Patrick

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