By Vivek Chandra Amancha
25 May 2015 23:30
English
3 Replies
How can we validate phone numbers in Tizen native application?
I've tried validating a phone number in Tizen with the help of following code
regex_t regex;
reti = regcomp(®ex, "^((\\+91)|0?)[789]{1}\\d{9}$", 0);
reti = regexec(®ex, phoneNumber, 0, NULL, 0);
But the above code doesn;t work for me, both the functions regcomp and regexec are giving error code number -126, can anyone tell me where the problem is?
Thanks.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------