Hi everybody,
I dont under stand the meaning of regular experssion in vop and vex such as regex_find,regex_mach, re_find() refindall() etc.
string s =“abc2”;
s@num1=re_findall(“\\\\\d”, s);
s@num2=re_findall(r“\d”, s);
s@num3=re_findall(R“(\d)”, s);
I know \d means digits but what else? does houdini have some specific pages for this regular expression?
Best wishes
regular expression in vop and vex
24012 1 0-
- carldrifter
- Member
- 66 posts
- Joined: 5月 2016
- オフライン
-
- Mahesh Dubey Lead Fx TD
- Member
- 6 posts
- Joined: 3月 2016
- オフライン
For regular expressions you can check this.
https://regexr.com/ [regexr.com]
https://regex101.com/ [regex101.com]
It will help you understand all the patterns and it's meaning.
And your code should be like this, because re_findall returns array data type.
Also not sure about uppercase R may not work.
string s ='abc2';
s@num1=re_findall('\\\\\d', s);
s@num2=re_findall(r'\d', s);
s@num3=re_findall(r'(\d)', s);//
https://regexr.com/ [regexr.com]
https://regex101.com/ [regex101.com]
It will help you understand all the patterns and it's meaning.
And your code should be like this, because re_findall returns array data type.
Also not sure about uppercase R may not work.
string s ='abc2';
s@num1=re_findall('\\\\\d', s);
s@num2=re_findall(r'\d', s);
s@num3=re_findall(r'(\d)', s);//
-
- Quick Links

