Not() public static method

Returns a pattern that matches a character that is not from the specified Unicode category.
public static Not ( GeneralCategory category ) : CharGrouping
category GeneralCategory An enumerated constant that identifies Unicode category.
return CharGrouping
コード例 #1
0
 /// <summary>
 /// Appends a pattern that matches a character that is not from the specified Unicode category.
 /// </summary>
 /// <param name="category">An enumerated constant that identifies Unicode category.</param>
 /// <returns></returns>
 public CharGrouping Not(GeneralCategory category) => Append(Chars.Not(category));
コード例 #2
0
 /// <summary>
 /// Appends a pattern that matches a character that is not from the specified Unicode block.
 /// </summary>
 /// <param name="block">An enumerated constant that identifies Unicode block.</param>
 /// <returns></returns>
 public CharGrouping Not(NamedBlock block) => Append(Chars.Not(block));