Exposes static methods that returns instance of CharGrouping class. CharGrouping class represents a character group content.
Exemplo n.º 1
0
 /// <summary>
 /// Appends a pattern that matches any one character from the specified range.
 /// </summary>
 /// <param name="first">The first character of the range.</param>
 /// <param name="last">The last character of the range.</param>
 /// <returns></returns>
 public CharGrouping Range(char first, char last) => Append(Chars.Range(first, last));
Exemplo n.º 2
0
 /// <summary>
 /// Appends a pattern that matches left parenthesis.
 /// </summary>
 /// <returns></returns>
 public CharGrouping LeftParenthesis() => Append(Chars.LeftParenthesis());
Exemplo n.º 3
0
 /// <summary>
 /// Appends a pattern that matches an asterisk.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Asterisk() => Append(Chars.Asterisk());
Exemplo n.º 4
0
 /// <summary>
 /// Appends a pattern that matches a dollar character.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Dollar() => Append(Chars.Dollar());
Exemplo n.º 5
0
 /// <summary>
 /// Matches an ampersand.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Ampersand() => Append(Chars.Ampersand());
Exemplo n.º 6
0
 /// <summary>
 /// Appends a pattern that matches a space character.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Space() => Append(Chars.Space());
Exemplo n.º 7
0
 /// <summary>
 /// Appends a pattern that matches a quotation mark.
 /// </summary>
 /// <returns></returns>
 public CharGrouping QuoteMark() => Append(Chars.QuoteMark());
Exemplo n.º 8
0
 /// <summary>
 /// Appends a pattern that matches a character that is not from the white-space character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping NotWhiteSpace() => Append(Chars.NotWhiteSpace());
Exemplo n.º 9
0
 /// <summary>
 /// Appends a pattern that matches a character from the word character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping WordChar() => Append(Chars.WordChar());
Exemplo n.º 10
0
 /// <summary>
 /// Appends a pattern that matches a character that is not from the digit character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping NotDigit() => Append(Chars.NotDigit());
Exemplo n.º 11
0
 /// <summary>
 /// Appends a pattern that matches a character from the white-space character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping WhiteSpace() => Append(Chars.WhiteSpace());
Exemplo n.º 12
0
 /// <summary>
 /// Appends a pattern that matches a character from the digit character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Digit() => Append(Chars.Digit());
Exemplo n.º 13
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));
Exemplo n.º 14
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));
Exemplo n.º 15
0
 /// <summary>
 /// Appends a pattern that matches a linefeed.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Linefeed() => Append(Chars.Linefeed());
Exemplo n.º 16
0
 /// <summary>
 /// Appends a pattern that matches a character that is not from the word character class.
 /// </summary>
 /// <returns></returns>
 public CharGrouping NotWordChar() => Append(Chars.NotWordChar());
Exemplo n.º 17
0
 /// <summary>
 /// Appends a pattern that matches a carriage return.
 /// </summary>
 /// <returns></returns>
 public CharGrouping CarriageReturn() => Append(Chars.CarriageReturn());
Exemplo n.º 18
0
 /// <summary>
 /// Appends a pattern that matches a latin alphabet letter or an arabic digit.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Alphanumeric() => Append(Chars.Alphanumeric());
Exemplo n.º 19
0
 /// <summary>
 /// Appends a pattern that matches an exclamation mark.
 /// </summary>
 /// <returns></returns>
 public CharGrouping ExclamationMark() => Append(Chars.ExclamationMark());
Exemplo n.º 20
0
 /// <summary>
 /// Appends a pattern that matches a latin alphabet letter, an arabic digit or an underscore.
 /// </summary>
 /// <returns></returns>
 public CharGrouping AlphanumericUnderscore() => Append(Chars.AlphanumericUnderscore());
Exemplo n.º 21
0
 /// <summary>
 /// Appends a pattern that matches a number sign.
 /// </summary>
 /// <returns></returns>
 public CharGrouping NumberSign() => Append(Chars.NumberSign());
Exemplo n.º 22
0
 /// <summary>
 /// Appends a pattern that matches a latin alphabet letter.
 /// </summary>
 /// <returns></returns>
 public CharGrouping LatinLetter() => Append(Chars.LatinLetter());
Exemplo n.º 23
0
 /// <summary>
 /// Appends a pattern that matches a percent sign.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Percent() => Append(Chars.Percent());
Exemplo n.º 24
0
 /// <summary>
 /// Matches an arabic digit.
 /// </summary>
 /// <returns></returns>
 public CharGrouping ArabicDigit() => Append(Chars.ArabicDigit());
Exemplo n.º 25
0
 /// <summary>
 /// Appends a pattern that matches an apostrophe.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Apostrophe() => Append(Chars.Apostrophe());
Exemplo n.º 26
0
 /// <summary>
 /// Appends a pattern that matches a new line character, i.e. a linefeed character or a carriage return character.
 /// </summary>
 /// <returns></returns>
 public CharGrouping NewLineChar() => Append(Chars.NewLineChar());
Exemplo n.º 27
0
 /// <summary>
 /// Appends a pattern that matches right parenthesis.
 /// </summary>
 /// <returns></returns>
 public CharGrouping RightParenthesis() => Append(Chars.RightParenthesis());
Exemplo n.º 28
0
 /// <summary>
 /// Appends a pattern that matches a tab.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Tab() => Append(Chars.Tab());
Exemplo n.º 29
0
 /// <summary>
 /// Appends a pattern that matches a plus sign.
 /// </summary>
 /// <returns></returns>
 public CharGrouping Plus() => Append(Chars.Plus());
Exemplo n.º 30
0
 /// <summary>
 /// Appends a pattern that matches a character from the specified Unicode category.
 /// </summary>
 /// <param name="category">An enumerated constant that identifies Unicode category.</param>
 /// <returns></returns>
 public CharGrouping Character(GeneralCategory category)
 {
     return(Append(Chars.Character(category)));
 }