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

RE: [CONNECT C++] Use TextBlock::FindText() to locate "special" characters in a string

$
0
0

[quote user="Jon Summers"]

Bruce Reeves SRNS
Using std::regex

[/quote]

 

Sorry - my mistake. I *was* using std::wregex.

 

[quote user="Jon Summers"]Perhaps you omitted some code when you originally posted[/quote]

 

Again, my omission. I *am* using FindTextParametersPtr.

 

I am currently using FindText() to find fractions (L"[-?\\d+/-?\\d+]"), but I'm returning individual digits, not complete fractions. Maybe I need to try some of the other FindTextParameters (like SetMatchWholeWords) ?

 

I've pretty much abandoned trying to search for characters > 128. Now I'm trying a second FindText(), looking fot fractinos that represent those >128 value characters...


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

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