The Is* Unicode script ranges in .NET's RegEx

by Michael S. Kaplan, published on 2005/09/13 10:31 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/09/13/464416.aspx


You'd think they would have a help topic that would list these, wouldn't you? I mean, since topics like Character Classes documents that they exist....

Ah well, I'll just do it now. Here are the ones as of Whidbey. Note that they are only up to Unicode 4.0, so that blocks added in Unicode 4.1 such as the new Georgian Nushkui range (U+2d00 to U+2d2f). There might also be a few ranges that are a kittle smaller than they ought to be due to additions....

The final thing to keep in mind -- it uses full ranges so if you have a Unicode code unit that is not yet assigned in the middle of one of these blocks, it will be considered part of one the block.

Without further adieu, here are the names that you can use in .NET regular expressions:

 

This post brought to you by every single character in Unicode 4.0


no comments

Please consider a donation to keep this archive running, maintained and free of advertising.
Donate €20 or more to receive an offline copy of the whole archive including all images.

referenced by

2007/12/05 No way to get that script info I was looking for earlier

go to newer or older post, or back to index or month or day