validate-str (npm): validate string by regexp or function, return error message list.
Keywords: validate|validator