THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/12/2009 at 06:46, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;
---------
Hi there,
has anyone a good example code for regular expressions search or knows what´s wrong i my code, where nothing happens(never return TRUE (if...)). Here my code:
AutoAlloc <RegularExprParser> regularexpression;
String input = "a*";
String objectname = "appletree"; regularexpression->Init(input);
LONG pos2 = 0;
String word = "";
if(regularexpression->FindFirst(objectname,RegParseMatch,TRUE,pos2,word)) found.push_back(object); // never step-in
Thanks,
coffeemax