[osis-core] Regex sanity check
Todd Tillinghast
osis-core@bibletechnologieswg.org
Wed, 14 Aug 2002 14:10:12 -0600
I think you mean
v
(\p{L} | \p{Nd} | \-)*
I think that this would give us mixed letters, numbers and "-", but I am
not an regex expert. I would have to test it out to be sure. I have to
finish my taxes (tomorrow is April 15 + 4 months) so I have to do that
with the beta version.
The trouble with this is that it does allow a leading "_".
(\p{L} | \p{Nd})((\p{L} | \p{Nd} | \-)*)?
This allows "ABC123_789xyz_" but not "_ABC123_789xyz_".
How about
> Todd,
>
> While I put the schema checker together on the Linux box, quick check
on
> my schema regex reasoning:
>
> to have mixed Letters, Numbers and "-" I should say:
>
> (\p{L] | \p{Nd} | \-)*
>
> correct?
>
> Patrick
>
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> pdurusau@emory.edu
>