/// <summary> Succeed with match length 1 /// if the current character in the input is not among the given characters. /// </summary> /// <param name="cs">the characters to compare with. /// </param> /// <returns> the Pattern object. /// </returns> public static Pattern NotAmong(params char[] cs) { return(IsChar(CharPredicates.NotAmong(cs))); }
static Scanner _notAmong(char[] chars, string expected_name) { return(IsChar(CharPredicates.NotAmong(chars), expected_name).Rename("not among")); }