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

"Costello, Roger L." <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
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:[email protected]] 
Sent: Thursday, December 30, 2010 2:44 PM
To: Costello, Roger L.
Cc: [email protected]
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

-- 
Objective Systems, Inc.
REAL WORLD ASN.1 AND XML SOLUTIONS
http://www.obj-sys.com



On 12/30/2010 2:32 PM, Costello, Roger L. wrote:
> Hi Folks,
>
> The specification says that this regex matches any numeric character in any language:
>
>      \p[N]
>
> Here are some characters that match: 0, 1, ..., 9, ¼ (the fraction one-fourth), ½ (the fraction one-half), ¾ (the fraction three-fourths)
>
> Can you please provide me with examples of other characters that match?
>
>
> The specification says that this regex matches a digit 0 to 9 in any language:
>
>      \p[Nd]
>
> Obviously these characters match: 0, 1, ..., 9
>
> Can you please provide me with examples of other characters that match?
>
>
> /Roger
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.