RE: Need some examples of characters that match this regex: \p[N]

> Did you use the normal X character or the Unicode character for the 
> roman numeral X?  It would have to be the latter.

Ah! That never occurred to me. Yes, I used the normal X character.

How do I obtain the Roman numeral X so that I can check it with Oxygen XML's Regular Expression Builder?

More generally, how do I enter character entities into Oxygen XML's Regular Expression Builder? For example, the hex value of the digit 2 is x32. I entered this character entity reference in Oxygen XML's Regular Expression Builder:

   2

And it didn't match on \p{N}

/Roger



-----Original Message-----
From: Kevin Braun [mailto:kbraun@obj-sys.com] 
Sent: Thursday, December 30, 2010 3:07 PM
To: Costello, Roger L.
Cc: xmlschema-dev@w3.org
Subject: Re: Need some examples of characters that match this regex: \p[N]

Did you use the normal X character or the Unicode character for the 
roman numeral X?  It would have to be the latter.

On 12/30/2010 2:48 PM, Costello, Roger L. wrote:
> Hi Kevin,
>
> For this regex:
>
>     \p[N]
>
> I tested it using Oxygen XML's Regular Expression Build and it did not accept these Roman numerals:
>
>     X, x, I, i, ii, iii, iv
>
> /Roger
>
>
> -----Original Message-----
> From: Kevin Braun [mailto:kbraun@obj-sys.com]
> Sent: Thursday, December 30, 2010 2:44 PM
> To: Costello, Roger L.
> Cc: xmlschema-dev@w3.org
> Subject: Re: Need some examples of characters that match this regex: \p[N]
>
> Hi Roger,
>
> If I recall correctly, there are roman numeral characters that match.
>
> Kevin
>

Received on Thursday, 30 December 2010 20:25:37 UTC