sample regex match in c