Help please
I am using xpressive for text processing with regexes.
Microsoft Visual C++ 13.0 on a windows 10 laptop, boost version 1_59_0 (and lib64-msvc-12.0 downloaded from sourceforge) , locale is en_US.UTF-8 .
my regular expressions for catching any and all digits :
wsregex any_number_regex = wsregex::compile(L"^(.*\\D)?(\\d+)(\\D.*)?$");
Looks like it recognizes the superscript 2 and superscript 3 as plain “digits”
all other superscript digits are not caught by this regex.
examples:
πr²
234³
is this intentional?
is this a bug?
(I know I can change the regex to catch [0-9]+, this regex just one of many I use in my software!)
thank you
Mia