YuriyGuts.RegexBuilder.RegexBuilder.AsciiCharacter C# (CSharp) 메소드

AsciiCharacter() 공개 정적인 메소드

Generates an ASCII character pattern ("\xNN") with the specified character code.
public static AsciiCharacter ( byte code ) : RegexNodeLiteral
code byte ASCII character code.
리턴 RegexNodeLiteral
        public static RegexNodeLiteral AsciiCharacter(byte code)
        {
            return new RegexNodeLiteral(string.Format(CultureInfo.InvariantCulture, "\\x{0:x2}", code & 0xFF));
        }

Same methods

RegexBuilder::AsciiCharacter ( byte code, RegexQuantifier quantifier ) : RegexNodeLiteral