so the string "RCHNUSNT35C~rs07/ASM-RS07" should match with the regular expression and return 0. But the return value is 1. Any pointers on how that is possible.
What does the regular expression ['(^[^~]+~).*'] mean while using it with regexec.When the string "RCHNUSNT35C~rs07/ASM-RS07" is used with the regular expression ['(^[^~]+~).*'] regexec gives an...