A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/pcre2__substitute_8c.html below:

NCBI C++ ToolKit: src/util/regexp/pcre2_substitute.c File Reference

Go to the source code of this file.

Go to the SVN repository for this file.

static int  find_text_end (const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, BOOL last)   PCRE2_EXPORT int PCRE2_CALL_CONVENTION  pcre2_substitute (const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, PCRE2_UCHAR *buffer, PCRE2_SIZE *blength)   ◆ CHECKMEMCPY #define CHECKMEMCPY (   from,   length  ) Value:

{ \

if (!overflowed && lengthleft < length) \

{ \

extra_needed = length - lengthleft; \

} \

{ \

extra_needed += length; \

} \

else \

{ \

buff_offset += length; \

lengthleft -= length; \

} \

}

if(yy_accept[yy_current_state])

#define TRUE

bool replacment for C indicating true.

#define PCRE2_SUBSTITUTE_OVERFLOW_LENGTH

Definition at line 197 of file pcre2_substitute.c.

◆ PTR_STACK_SIZE ◆ SUBSTITUTE_OPTIONS #define SUBSTITUTE_OPTIONS Value:

#define PCRE2_SUBSTITUTE_REPLACEMENT_ONLY

#define PCRE2_SUBSTITUTE_GLOBAL

#define PCRE2_SUBSTITUTE_EXTENDED

#define PCRE2_SUBSTITUTE_MATCHED

#define PCRE2_SUBSTITUTE_UNSET_EMPTY

Definition at line 50 of file pcre2_substitute.c.

◆ find_text_end()

Definition at line 79 of file pcre2_substitute.c.

References CHAR_BACKSLASH, CHAR_COLON, CHAR_DOLLAR_SIGN, CHAR_E, CHAR_L, CHAR_l, CHAR_LEFT_CURLY_BRACKET, CHAR_RIGHT_CURLY_BRACKET, CHAR_U, CHAR_u, ESC_E, ESC_Q, FALSE, last(), literal(), NULL, PCRE2_ERROR_BADREPESCAPE, PCRE2_ERROR_REPMISSINGBRACE, PCRE2_SPTR, PRIV, and TRUE.

Referenced by pcre2_substitute().

◆ pcre2_substitute() PCRE2_EXPORT int PCRE2_CALL_CONVENTION pcre2_substitute ( const pcre2_codecode, PCRE2_SPTR  subject, PCRE2_SIZE  length, PCRE2_SIZE  start_offset, uint32_t  options, pcre2_match_datamatch_data, pcre2_match_contextmcontext, PCRE2_SPTR  replacement, PCRE2_SIZE  rlength, PCRE2_UCHARbuffer, PCRE2_SIZEblength  )

Definition at line 220 of file pcre2_substitute.c.

References BAD, buffer, cbit_lower, cbit_upper, cbits_offset, CHAR_0, CHAR_9, CHAR_ASTERISK, CHAR_BACKSLASH, CHAR_COLON, CHAR_CR, CHAR_DOLLAR_SIGN, CHAR_E, CHAR_L, CHAR_l, CHAR_LEFT_CURLY_BRACKET, CHAR_LF, CHAR_MINUS, CHAR_PLUS, CHAR_RIGHT_CURLY_BRACKET, CHAR_U, CHAR_u, CHECKMEMCPY, ctype_word, ctypes_offset, ESC_E, ESC_Q, FALSE, fcc_offset, find_text_end(), first(), GET2, GETCHARINCTEST, last(), match_data, MAX_255, n, next(), NULL, offsetof, PCRE2_ANCHORED, PCRE2_ERROR_BADOFFSET, PCRE2_ERROR_BADOPTION, PCRE2_ERROR_BADREPESCAPE, PCRE2_ERROR_BADREPLACEMENT, PCRE2_ERROR_BADSUBSPATTERN, PCRE2_ERROR_BADSUBSTITUTION, PCRE2_ERROR_INTERNAL_DUPMATCH, PCRE2_ERROR_NOMATCH, PCRE2_ERROR_NOMEMORY, PCRE2_ERROR_NOSUBSTRING, PCRE2_ERROR_NULL, PCRE2_ERROR_REPMISSINGBRACE, PCRE2_ERROR_TOOMANYREPLACE, PCRE2_ERROR_UNSET, pcre2_general_context, pcre2_get_mark(), pcre2_get_ovector_count(), pcre2_get_ovector_pointer(), pcre2_match(), pcre2_match_data, pcre2_match_data_create(), pcre2_match_data_create_from_pattern(), pcre2_match_data_free(), PCRE2_NEWLINE_CR, PCRE2_NEWLINE_LF, PCRE2_NO_UTF_CHECK, PCRE2_NOTEMPTY_ATSTART, PCRE2_PARTIAL_HARD, PCRE2_PARTIAL_SOFT, PCRE2_SIZE, PCRE2_SPTR, pcre2_substitute_callout_block, PCRE2_SUBSTITUTE_EXTENDED, PCRE2_SUBSTITUTE_GLOBAL, PCRE2_SUBSTITUTE_LITERAL, PCRE2_SUBSTITUTE_MATCHED, PCRE2_SUBSTITUTE_REPLACEMENT_ONLY, PCRE2_SUBSTITUTE_UNKNOWN_UNSET, PCRE2_SUBSTITUTE_UNSET_EMPTY, pcre2_substring_length_bynumber(), pcre2_substring_nametable_scan(), PCRE2_UCHAR, PCRE2_UCP, PCRE2_UNSET, PCRE2_UTF, PCRE2_ZERO_TERMINATED, PRIV, PTR_STACK_SIZE, STRING_MARK, subject, SUBSTITUTE_OPTIONS, TRUE, UCD_CHARTYPE, UCD_OTHERCASE, ucp_L, ucp_Ll, ucp_Lu, utf, and valid_utf().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4