Rasqal RDF Query Library Manual | ||||
---|---|---|---|---|
Top | Description |
char * rasqal_regex_replace (rasqal_world *world
,raptor_locator *locator
,const char *pattern
,const char *regex_flags
,const char *subject
,size_t subject_len
,const char *replace
,size_t replace_len
,size_t *result_len_p
);
char * rasqal_regex_replace (rasqal_world *world
,raptor_locator *locator
,const char *pattern
,const char *regex_flags
,const char *subject
,size_t subject_len
,const char *replace
,size_t replace_len
,size_t *result_len_p
);
Replace all copies of matches to a pattern with a replacement with subsitution
Intended to be used for SPARQL 1.1 REPLACE()
implementation.
|
world |
|
locator |
|
regex pattern |
|
regex flags string |
|
input string |
|
input string length |
|
replacement string |
|
Length of replacement string |
|
pointer to store result length (output) |
Returns : |
result string or NULL on failure |