|
42 | 42 | buffer that is large enough to hold the string. For all other codes it must |
43 | 43 | point to a uint32_t integer variable. The available codes are: |
44 | 44 | <pre> |
45 | | - PCRE2_CONFIG_BSR Indicates what \R matches by default: |
46 | | - PCRE2_BSR_UNICODE |
47 | | - PCRE2_BSR_ANYCRLF |
48 | | - PCRE2_CONFIG_COMPILED_WIDTHS Which of 8/16/32 support was compiled |
49 | | - PCRE2_CONFIG_DEPTHLIMIT Default backtracking depth limit |
50 | | - PCRE2_CONFIG_HEAPLIMIT Default heap memory limit |
51 | | - PCRE2_CONFIG_JIT Availability of just-in-time compiler support (1=yes 0=no) |
52 | | - PCRE2_CONFIG_JITTARGET Information (a string) about the target architecture for the JIT compiler |
53 | | - PCRE2_CONFIG_LINKSIZE Configured internal link size (2, 3, 4) |
54 | | - PCRE2_CONFIG_MATCHLIMIT Default internal resource limit |
| 45 | + PCRE2_CONFIG_BSR Indicates what \R matches by default: |
| 46 | + PCRE2_BSR_UNICODE |
| 47 | + PCRE2_BSR_ANYCRLF |
| 48 | + PCRE2_CONFIG_COMPILED_WIDTHS Which of 8/16/32 support was compiled |
| 49 | + PCRE2_CONFIG_DEPTHLIMIT Default backtracking depth limit |
| 50 | + PCRE2_CONFIG_EFFECTIVE_LINKSIZE How many bytes are used for link size |
| 51 | + PCRE2_CONFIG_HEAPLIMIT Default heap memory limit |
| 52 | + PCRE2_CONFIG_JIT Availability of just-in-time compiler support (1=yes 0=no) |
| 53 | + PCRE2_CONFIG_JITTARGET Information (a string) about the target architecture for the JIT compiler |
| 54 | + PCRE2_CONFIG_LINKSIZE Configured internal link size (2, 3, 4) |
| 55 | + PCRE2_CONFIG_MATCHLIMIT Default internal resource limit |
55 | 56 | PCRE2_CONFIG_NEVER_BACKSLASH_C Whether or not \C is disabled |
56 | | - PCRE2_CONFIG_NEWLINE Code for the default newline sequence: |
57 | | - PCRE2_NEWLINE_CR |
58 | | - PCRE2_NEWLINE_LF |
59 | | - PCRE2_NEWLINE_CRLF |
60 | | - PCRE2_NEWLINE_ANY |
61 | | - PCRE2_NEWLINE_ANYCRLF |
62 | | - PCRE2_NEWLINE_NUL |
63 | | - PCRE2_CONFIG_PARENSLIMIT Default parentheses nesting limit |
64 | | - PCRE2_CONFIG_RECURSIONLIMIT Obsolete: use PCRE2_CONFIG_DEPTHLIMIT |
65 | | - PCRE2_CONFIG_STACKRECURSE Obsolete: always returns 0 |
66 | | - PCRE2_CONFIG_UNICODE Availability of Unicode support (1=yes 0=no) |
67 | | - PCRE2_CONFIG_UNICODE_VERSION The Unicode version (a string) |
68 | | - PCRE2_CONFIG_VERSION The PCRE2 version (a string) |
| 57 | + PCRE2_CONFIG_NEWLINE Code for the default newline sequence: |
| 58 | + PCRE2_NEWLINE_CR |
| 59 | + PCRE2_NEWLINE_LF |
| 60 | + PCRE2_NEWLINE_CRLF |
| 61 | + PCRE2_NEWLINE_ANY |
| 62 | + PCRE2_NEWLINE_ANYCRLF |
| 63 | + PCRE2_NEWLINE_NUL |
| 64 | + PCRE2_CONFIG_PARENSLIMIT Default parentheses nesting limit |
| 65 | + PCRE2_CONFIG_RECURSIONLIMIT Obsolete: use PCRE2_CONFIG_DEPTHLIMIT |
| 66 | + PCRE2_CONFIG_STACKRECURSE Obsolete: always returns 0 |
| 67 | + PCRE2_CONFIG_UNICODE Availability of Unicode support (1=yes 0=no) |
| 68 | + PCRE2_CONFIG_UNICODE_VERSION The Unicode version (a string) |
| 69 | + PCRE2_CONFIG_VERSION The PCRE2 version (a string) |
69 | 70 | </pre> |
70 | 71 | The function yields a non-negative value on success or the negative value |
71 | 72 | PCRE2_ERROR_BADOPTION otherwise. This is also the result for the |
|
0 commit comments