LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the anchor characters with the RegExpr_FindPatternInText function

I am using the RegExpr_FindPatternInText function. I want to use the anchor operators ^ and $ however I can not get them to work. According to the on-line help these two options should enable me to lock the search to the begining or end of a line (I assume a line is seperated by a newline char although the documentation does not make this clear). However is I search for "^int" in the string "Hello int\nint" the function returns the location of 6 instead of 11 as expected. I tried the $ and this only seams to work for the text I look for is at the end of the string and not the end of the line. Any ideas?"
0 Kudos
Message 1 of 2
(2,710 Views)
Hi Chris,

This is a known bug that will be fixed in the next version of CVI (7.0). I will send the fixed files to your personal e-mail address.

Best regards,
Mohan
0 Kudos
Message 2 of 2
(2,710 Views)