Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Created October 4, 2012 20:50
Show Gist options
  • Save staticfloat/3836360 to your computer and use it in GitHub Desktop.
Save staticfloat/3836360 to your computer and use it in GitHub Desktop.
const ANCHORED = int32(0x00000010)
const AUTO_CALLOUT = int32(0x00004000)
const BSR_ANYCRLF = int32(0x00800000)
const BSR_UNICODE = int32(0x01000000)
const CASELESS = int32(0x00000001)
const CONFIG_BSR = int32(8)
const CONFIG_JIT = int32(9)
const CONFIG_JITTARGET = int32(11)
const CONFIG_LINK_SIZE = int32(2)
const CONFIG_MATCH_LIMIT = int32(4)
const CONFIG_MATCH_LIMIT_RECURSION = int32(7)
const CONFIG_NEWLINE = int32(1)
const CONFIG_POSIX_MALLOC_THRESHOLD = int32(3)
const CONFIG_STACKRECURSE = int32(5)
const CONFIG_UNICODE_PROPERTIES = int32(6)
const CONFIG_UTF16 = int32(10)
const CONFIG_UTF8 = int32(0)
const DFA_RESTART = int32(0x00020000)
const DFA_SHORTEST = int32(0x00010000)
const DOLLAR_ENDONLY = int32(0x00000020)
const DOTALL = int32(0x00000004)
const DUPNAMES = int32(0x00080000)
const ERROR_BADCOUNT = int32(-15)
const ERROR_BADENDIANNESS = int32(-29)
const ERROR_BADMAGIC = int32(-4)
const ERROR_BADMODE = int32(-28)
const ERROR_BADNEWLINE = int32(-23)
const ERROR_BADOFFSET = int32(-24)
const ERROR_BADOPTION = int32(-3)
const ERROR_BADPARTIAL = int32(-13)
const ERROR_BADUTF16 = int32(-10)
const ERROR_BADUTF16_OFFSET = int32(-11)
const ERROR_BADUTF8 = int32(-10)
const ERROR_BADUTF8_OFFSET = int32(-11)
const ERROR_CALLOUT = int32(-9)
const ERROR_DFA_BADRESTART = int32(-30)
const ERROR_DFA_RECURSE = int32(-20)
const ERROR_DFA_UCOND = int32(-17)
const ERROR_DFA_UITEM = int32(-16)
const ERROR_DFA_UMLIMIT = int32(-18)
const ERROR_DFA_WSSIZE = int32(-19)
const ERROR_INTERNAL = int32(-14)
const ERROR_JIT_STACKLIMIT = int32(-27)
const ERROR_MATCHLIMIT = int32(-8)
const ERROR_NOMATCH = int32(-1)
const ERROR_NOMEMORY = int32(-6)
const ERROR_NOSUBSTRING = int32(-7)
const ERROR_NULL = int32(-2)
const ERROR_NULLWSLIMIT = int32(-22)
const ERROR_PARTIAL = int32(-12)
const ERROR_RECURSELOOP = int32(-26)
const ERROR_RECURSIONLIMIT = int32(-21)
const ERROR_SHORTUTF16 = int32(-25)
const ERROR_SHORTUTF8 = int32(-25)
const ERROR_UNKNOWN_NODE = int32(-5)
const ERROR_UNKNOWN_OPCODE = int32(-5)
const EXTENDED = int32(0x00000008)
const EXTRA = int32(0x00000040)
const EXTRA_CALLOUT_DATA = int32(0x0004)
const EXTRA_EXECUTABLE_JIT = int32(0x0040)
const EXTRA_MARK = int32(0x0020)
const EXTRA_MATCH_LIMIT = int32(0x0002)
const EXTRA_MATCH_LIMIT_RECURSION = int32(0x0010)
const EXTRA_STUDY_DATA = int32(0x0001)
const EXTRA_TABLES = int32(0x0008)
const FIRSTLINE = int32(0x00040000)
const INFO_BACKREFMAX = int32(3)
const INFO_CAPTURECOUNT = int32(2)
const INFO_DEFAULT_TABLES = int32(11)
const INFO_FIRSTBYTE = int32(4)
const INFO_FIRSTCHAR = int32(4)
const INFO_FIRSTTABLE = int32(5)
const INFO_HASCRORLF = int32(14)
const INFO_JCHANGED = int32(13)
const INFO_JIT = int32(16)
const INFO_JITSIZE = int32(17)
const INFO_LASTLITERAL = int32(6)
const INFO_MAXLOOKBEHIND = int32(18)
const INFO_MINLENGTH = int32(15)
const INFO_NAMECOUNT = int32(8)
const INFO_NAMEENTRYSIZE = int32(7)
const INFO_NAMETABLE = int32(9)
const INFO_OKPARTIAL = int32(12)
const INFO_OPTIONS = int32(0)
const INFO_SIZE = int32(1)
const INFO_STUDYSIZE = int32(10)
const JAVASCRIPT_COMPAT = int32(0x02000000)
const MAJOR = int32(8)
const MINOR = int32(31)
const MULTILINE = int32(0x00000002)
const NEWLINE_ANY = int32(0x00400000)
const NEWLINE_ANYCRLF = int32(0x00500000)
const NEWLINE_CR = int32(0x00100000)
const NEWLINE_CRLF = int32(0x00300000)
const NEWLINE_LF = int32(0x00200000)
const NOTBOL = int32(0x00000080)
const NOTEMPTY = int32(0x00000400)
const NOTEMPTY_ATSTART = int32(0x10000000)
const NOTEOL = int32(0x00000100)
const NO_AUTO_CAPTURE = int32(0x00001000)
const NO_START_OPTIMISE = int32(0x04000000)
const NO_START_OPTIMIZE = int32(0x04000000)
const NO_UTF16_CHECK = int32(0x00002000)
const NO_UTF8_CHECK = int32(0x00002000)
const PARTIAL = int32(0x00008000)
const PARTIAL_HARD = int32(0x08000000)
const PARTIAL_SOFT = int32(0x00008000)
const STUDY_JIT_COMPILE = int32(0x0001)
const STUDY_JIT_PARTIAL_HARD_COMPILE = int32(0x0004)
const STUDY_JIT_PARTIAL_SOFT_COMPILE = int32(0x0002)
const UCP = int32(0x20000000)
const UNGREEDY = int32(0x00000200)
const UTF16 = int32(0x00000800)
const UTF16_ERR0 = int32(0)
const UTF16_ERR1 = int32(1)
const UTF16_ERR2 = int32(2)
const UTF16_ERR3 = int32(3)
const UTF16_ERR4 = int32(4)
const UTF8 = int32(0x00000800)
const UTF8_ERR0 = int32(0)
const UTF8_ERR1 = int32(1)
const UTF8_ERR10 = int32(10)
const UTF8_ERR11 = int32(11)
const UTF8_ERR12 = int32(12)
const UTF8_ERR13 = int32(13)
const UTF8_ERR14 = int32(14)
const UTF8_ERR15 = int32(15)
const UTF8_ERR16 = int32(16)
const UTF8_ERR17 = int32(17)
const UTF8_ERR18 = int32(18)
const UTF8_ERR19 = int32(19)
const UTF8_ERR2 = int32(2)
const UTF8_ERR20 = int32(20)
const UTF8_ERR21 = int32(21)
const UTF8_ERR3 = int32(3)
const UTF8_ERR4 = int32(4)
const UTF8_ERR5 = int32(5)
const UTF8_ERR6 = int32(6)
const UTF8_ERR7 = int32(7)
const UTF8_ERR8 = int32(8)
const UTF8_ERR9 = int32(9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment