[osis-core] OSIS work regex

Harry Plantinga osis-core@bibletechnologieswg.org
Wed, 14 Aug 2002 14:51:02 -0400


I don't see what harm it would do as a first character --
I've seen usage such as _MySystemID, for example. It 
would definitely not serve as a delimiter, but as a name
character.

-Harry

> -----Original Message-----
> From: owner-osis-core@bibletechnologieswg.org 
> [mailto:owner-osis-core@bibletechnologieswg.org] On Behalf Of 
> Todd Tillinghast
> Sent: Wednesday, August 14, 2002 2:44 PM
> To: osis-core@bibletechnologieswg.org
> Subject: RE: [osis-core] OSIS work regex
> 
> 
> 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).
> > 
> 
>