Name validation
-
I have been looking in vain for a ready made C++ class, or method, that validates peoples names (family and given names separately). I presume regular expressions is the thing to use, but I would rather use an existing (robust) class than attempting to develop my own, as I do not know the first thing about regular expressions. The task is not trivial, as there are names starting with de, van, von, de los, etc., names containing hyphens (such as Jeac-Luc), etc. As name validation must be a very common task I would be surprised if there isn't already an open source Qt/C++ class available. I just have not been able to find anything so far. Any hints about where to look would be most welcome.
-
I have been looking in vain for a ready made C++ class, or method, that validates peoples names (family and given names separately). I presume regular expressions is the thing to use, but I would rather use an existing (robust) class than attempting to develop my own, as I do not know the first thing about regular expressions. The task is not trivial, as there are names starting with de, van, von, de los, etc., names containing hyphens (such as Jeac-Luc), etc. As name validation must be a very common task I would be surprised if there isn't already an open source Qt/C++ class available. I just have not been able to find anything so far. Any hints about where to look would be most welcome.
-
I have been looking in vain for a ready made C++ class, or method, that validates peoples names (family and given names separately). I presume regular expressions is the thing to use, but I would rather use an existing (robust) class than attempting to develop my own, as I do not know the first thing about regular expressions. The task is not trivial, as there are names starting with de, van, von, de los, etc., names containing hyphens (such as Jeac-Luc), etc. As name validation must be a very common task I would be surprised if there isn't already an open source Qt/C++ class available. I just have not been able to find anything so far. Any hints about where to look would be most welcome.