[osis-core] osisWork regex problem

Steve DeRose osis-core@bibletechnologieswg.org
Wed, 21 Aug 2002 15:23:46 -0400


At 10:26 AM -0400 08/21/02, Harry Plantinga wrote:
>Below is a discussion I have been having with a student
>working on using the OSIS schema in XMetaL. We're trying
>to figure out what to use for osisWork, a required attribute
>of osisText.
>
>I suggested authorID_bookID, but the regex apparently
>doesn't understand that value.  I don't have schema documentation
>handy, so I can't debug the regex right now except by guessing,
>but shouldn't that be an acceptable value?
>
>Here's the regex: ((\p{L}|\p{N}|_)*)((\.(\p{L}|\p{N}|_)+)*)?
>
>Should it be (\p{L}|\p{N}|_)(\.(\p{L}|\p{N}|))*) 
>
>I.e. is the + requiring at least one .xxx?

One rev had that bug, but I thought it was already fixed.

-- 

Steve DeRose -- http://www.stg.brown.edu/~sjd
Chair, Bible Technologies Group -- http://www.bibletechnologies.net
Email: sderose@speakeasy.net
Backup email: sjd@stg.brown.edu