January 31st, 2013, 04:10 AM
Regex pattern which will match superscripts digits (only)?
I found that superscripts digits (coding UTF-8): ¹²³⁴⁵⁶⁷⁸⁹⁰ doesn't match \d+
Which regex pattern will match one or more superscripts digits and only to it?
January 31st, 2013, 06:37 AM
if your source code is UTF-8 encoded, just write the numbers down. Superscripts 4 to 9 directly follow each other, so you can use the "-" notation. If your program doesn't support direct UTF-8 input, use the code points:
February 1st, 2013, 11:18 AM