Is there a way to use the ng-template in form validation to validate any letter from any alphabet (Latin, Chinese, Korean, Russian, ...).
I found a solution with the XRegExp library, but I will not work with the ng-sample, since it expects a string regular expression.
XRegExp("^\\p{L}[\\p{L} ']*$")
One solution builds my own validator directive too much, but I would prefer to use ng-pattern if possible.
source share