[osis-core] Grain regex
Todd Tillinghast
osis-core@bibletechnologieswg.org
Tue, 13 Aug 2002 06:29:04 -0600
What meaning do "cp" and "str" carry?
In the past we had a
@char:45
@word:12
@enum:a
also there have been examples of simple forms like
@a
@1
This looks like
@ch1
@ch111
@str[X]
Can you say in words what you are trying to do with \Nd and \L. Why a
difference between ch and str?
Why no [] or some other delimiter after ch?
> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
> core@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Tuesday, August 13, 2002 6:02 AM
> To: osis-core
> Subject: [osis-core] Grain regex
>
> 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
>