>> Has anyone invented this wheel already?
Yes. XML Schema (and hence XPath) regular expressions.
Not quite. They will tell you whether a character belongs to a given code
block (yes or no); they won't tell you which code block a given character
belongs to.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--