RxOp.cs :  » 2.6.4-mono-.net-core » System.Text » System » Text » RegularExpressions » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » 2.6.4 mono .net core » System.Text 
System.Text » System » Text » RegularExpressions » RxOp.cs

namespace System.Text.RegularExpressions{

  // for the IgnoreCase opcodes, the char data is stored lowercased
  // two-byte integers are in little endian format
  enum RxOp : byte {
    // followed by count, min, max integers
    Info,

    False,
    True,

    // position anchors 
    AnyPosition,
    StartOfString,
    StartOfLine,
    StartOfScan,
    EndOfString,
    EndOfLine,
    End,
    WordBoundary,
    NoWordBoundary,

    // latin1 strings
    // followed by single byte length and latin1 bytes
    // keep the order, see EmitString ()
    String,
    StringIgnoreCase,
    StringReverse,
    StringIgnoreCaseReverse,

    // followed by two byte length and unicode chars (two bytes per char)
    // a better setup may be to reference the chars in the patterns string
    // (offset, length) pairs, at least when the pattern contains them,
    // but this means we can't lowercase before hand: consider using a separate
    // string/array
    // keep the order, see EmitString ()
    UnicodeString,
    UnicodeStringIgnoreCase,
    UnicodeStringReverse,
    UnicodeStringIgnoreCaseReverse,

    // latin1 single char
    // followed by a latin1 byte
    // keep the order, see EmitCharacter ()
    Char,
    NoChar,
    CharIgnoreCase,
    NoCharIgnoreCase,
    CharReverse,
    NoCharReverse,
    CharIgnoreCaseReverse,
    NoCharIgnoreCaseReverse,

    // followed by latin1 min and max bytes
    // keep the order, see EmitRange ()
    Range,
    NoRange,
    RangeIgnoreCase,
    NoRangeIgnoreCase,
    RangeReverse,
    NoRangeReverse,
    RangeIgnoreCaseReverse,
    NoRangeIgnoreCaseReverse,

    // followed by lowbyte and length of the bitmap and by the bitmap
    // keep the order, see EmitSet ()
    Bitmap,
    NoBitmap,
    BitmapIgnoreCase,
    NoBitmapIgnoreCase,
    BitmapReverse,
    NoBitmapReverse,
    BitmapIgnoreCaseReverse,
    NoBitmapIgnoreCaseReverse,

    // unicode chars
    // followed by a unicode char
    // keep the order, see EmitCharacter ()
    UnicodeChar,
    NoUnicodeChar,
    UnicodeCharIgnoreCase,
    NoUnicodeCharIgnoreCase,
    UnicodeCharReverse,
    NoUnicodeCharReverse,
    UnicodeCharIgnoreCaseReverse,
    NoUnicodeCharIgnoreCaseReverse,

    // followed by unicode char min and max chars
    // keep the order, see EmitRange ()
    UnicodeRange,
    NoUnicodeRange,
    UnicodeRangeIgnoreCase,
    NoUnicodeRangeIgnoreCase,
    UnicodeRangeReverse,
    NoUnicodeRangeReverse,
    UnicodeRangeIgnoreCaseReverse,
    NoUnicodeRangeIgnoreCaseReverse,

    // followed by lowchar and length of the bitmap and by the bitmap
    UnicodeBitmap,
    NoUnicodeBitmap,
    UnicodeBitmapIgnoreCase,
    NoUnicodeBitmapIgnoreCase,
    UnicodeBitmapReverse,
    NoUnicodeBitmapReverse,
    UnicodeBitmapIgnoreCaseReverse,
    NoUnicodeBitmapIgnoreCaseReverse,

    // add reverse and negate versions of the categories
    CategoryAny,
    NoCategoryAny,
    CategoryAnyReverse,
    NoCategoryAnyReverse,
    CategoryAnySingleline,
    NoCategoryAnySingleline,
    CategoryAnySinglelineReverse,
    NoCategoryAnySinglelineReverse,
    CategoryDigit,
    NoCategoryDigit,
    CategoryDigitReverse,
    NoCategoryDigitReverse,
    CategoryWord,
    NoCategoryWord,
    CategoryWordReverse,
    NoCategoryWordReverse,
    CategoryWhiteSpace,
    NoCategoryWhiteSpace,
    CategoryWhiteSpaceReverse,
    NoCategoryWhiteSpaceReverse,
    CategoryEcmaWord,
    NoCategoryEcmaWord,
    CategoryEcmaWordReverse,
    NoCategoryEcmaWordReverse,
    CategoryEcmaWhiteSpace,
    NoCategoryEcmaWhiteSpace,
    CategoryEcmaWhiteSpaceReverse,
    NoCategoryEcmaWhiteSpaceReverse,

    // followed by a unicode category value (byte)
    CategoryUnicode,
    NoCategoryUnicode,
    CategoryUnicodeReverse,
    NoCategoryUnicodeReverse,

    CategoryUnicodeLetter,
    NoCategoryUnicodeLetter,
    CategoryUnicodeLetterReverse,
    NoCategoryUnicodeLetterReverse,
    CategoryUnicodeMark,
    NoCategoryUnicodeMark,
    CategoryUnicodeMarkReverse,
    NoCategoryUnicodeMarkReverse,
    CategoryUnicodeNumber,
    NoCategoryUnicodeNumber,
    CategoryUnicodeNumberReverse,
    NoCategoryUnicodeNumberReverse,
    CategoryUnicodeSeparator,
    NoCategoryUnicodeSeparator,
    CategoryUnicodeSeparatorReverse,
    NoCategoryUnicodeSeparatorReverse,
    CategoryUnicodePunctuation,
    NoCategoryUnicodePunctuation,
    CategoryUnicodePunctuationReverse,
    NoCategoryUnicodePunctuationReverse,
    CategoryUnicodeSymbol,
    NoCategoryUnicodeSymbol,
    CategoryUnicodeSymbolReverse,
    NoCategoryUnicodeSymbolReverse,
    CategoryUnicodeSpecials,
    NoCategoryUnicodeSpecials,
    CategoryUnicodeSpecialsReverse,
    NoCategoryUnicodeSpecialsReverse,
    CategoryUnicodeOther,
    NoCategoryUnicodeOther,
    CategoryUnicodeOtherReverse,
    NoCategoryUnicodeOtherReverse,
    // add more categories

    // followed by Category value (byte)
    CategoryGeneral,
    NoCategoryGeneral,
    CategoryGeneralReverse,
    NoCategoryGeneralReverse,

    // backreferences
    // followed by two-byte reference number
    // keep the order, see EmitReference ()
    Reference,
    ReferenceIgnoreCase,
    ReferenceReverse,
    ReferenceIgnoreCaseReverse,

    // group/capture support
    // followed by two-byte group id
    OpenGroup,
    CloseGroup,
    
    BalanceStart,
    Balance,

    // followed by offset and two-byte group id
    IfDefined,

    // skip ahead num bytes
    // followed by two-byte offset
    Jump,

    // followed by two-byte offset
    SubExpression,

    // followed by true and false two-byte offsets
    Test,

    // followed by two-byte offset
    Branch,

    // followed by two-byte offset
    TestCharGroup,

    // anchoring expression
    // followed by offset of tail and offset
    Anchor,
    AnchorReverse,

    // repetition support
    // followed by min, max ints
    Repeat,
    RepeatLazy,
    Until,
    FastRepeat,
    FastRepeatLazy,
    // followed by min byte
    RepeatInfinite,
    RepeatInfiniteLazy,
  }
}

www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.