[osis-core] OSIS work regex
Patrick Durusau
osis-core@bibletechnologieswg.org
Wed, 14 Aug 2002 14:46:26 -0400
Todd,
I don't think Harry meant "_" as an extra delimiter (in the same sense
as "." is a delimiter in our syntax but more as a name character in
writing customary citations of names. It is in a sense a delimiter but
as part of the name to be matched as a string and not a delimiter. (Does
that make any sense at all? Perhaps Harry can state what he meant more
clearly. ;-)
Patrick
Todd Tillinghast wrote:
>What extra value does the "_" give us?
>
>Are you proposing Bible_.TEV_ ?
>
>Or just that "_" would be an option as in
>Bible.Todd_New_And_Different_Reference_System ?
>
>I can see "_" as an allowable character as long as it is not the leading
>character but don't see any value in having it as an additional
>delimiter to ".".
>
>Todd
>
>>-----Original Message-----
>>From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
>>core@bibletechnologieswg.org] On Behalf Of Harry Plantinga
>>Sent: Wednesday, August 14, 2002 7:26 AM
>>To: osis-core@bibletechnologieswg.org
>>Subject: RE: [osis-core] OSIS work regex
>>
>>If schema RegExps behave as they do in Perl, the ? is superfluous.
>>Perhaps
>>
>> [\L\N][\.\L\N]*
>>
>>The underscore character (_) is pretty commonly used in names and may
>>
>be
>
>>present in documents converted to OSIS. I can't see that it would do
>>
>any
>
>>harm. Could it be included? Perhaps
>>
>> [\L\N_][\.\L\N_]*
>>
>>-Harry
>>
>>----------------------------------
>>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).
>>
>
--
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu