Pihrtsoft.Text.RegularExpressions.Linq.Chars.Not C# (CSharp) Method

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
        public static CharGrouping Not(GeneralCategory category)
        {
            return Character(category, true);
        }

Same methods

Chars::Not ( NamedBlock block ) : CharGrouping

Usage Example

コード例 #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));
All Usage Examples Of Pihrtsoft.Text.RegularExpressions.Linq.Chars::Not