[osis-core] Substitute for regex
Todd Tillinghast
osis-core@bibletechnologieswg.org
Sat, 18 Oct 2003 14:48:58 -0600
Patrick,
It would seem natural to have an annotation of any of the things that
that are covered by the new osisGenType/osisGenRegex. As a result it
would seem appropriate to have a annotateRef be a list of osisGenRegex
and osisRefRegex.
In the current regex, there is no way to NOT put a prefix with
osisGenRegex.
We should NOT allow ":" in the part after the prefix. Mainly because if
the prefix is not specified and there is a ":" in the identifier value
with a ":" within it then the text before the ":" would be interpreted
as the prefix. Secondarily, there could be a prefix immediately
followed by a ":" character. It would seem wise to reserve "::" for
some future use.
Todd
> -----Original Message-----
> From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
> admin@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Saturday, October 18, 2003 5:05 AM
> To: osis-core@bibletechnologieswg.org
> Subject: [osis-core] Substitute for regex
>
> Guys,
>
> Just could not leave it alone!
>
> Try substituting:
>
> <xs:pattern value="((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_))?:)(\c)*)"/>
>
> For the osisGenRegex now in the schema.
>
> Note that it still allows ":" as part of the second part. Probably
> should do something like: (\c-[:]) for the second group so Todd won't
> have to count colons. Hmmm, that doesn't sound quite right does it?
;-)
>
> Have some heavy topic map reading to do this morning so look for calls
> in the early afternoon East Coast time.
>
> Hope everyone is having a great day!
>
> Patrick
>
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> Patrick.Durusau@sbl-site.org
> Chair, V1 - Text Processing: Office and Publishing Systems Interface
> Co-Editor, ISO 13250, Topic Maps -- Reference Model
>
> Topic Maps: Human, not artificial, intelligence at work!
>
>
> _______________________________________________
> osis-core mailing list
> osis-core@bibletechnologieswg.org
> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core