Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT C++] Unable to use "regex" for TextBlock::FindText() and return whole fractions

$
0
0

[quote user="Jon Summers"]Full match 40-48 `11/16123` Group 1. 40-48 `11/16123`[/quote]

In attempting to correct this regex result, I used the online tester and arrived at this solution:

([0-9]{1,2}+\/[0-9]{1,2}+)

 

However, it seems that the addition of the two {1,2} qualifiers renders TextBlock::FindText() unable to find ANY fractions...

 

BUT, I think L"[0-9]{1,2}/[0-9]{1,2}" does the trick !!

 


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>