Top | ![]() |
![]() |
![]() |
![]() |
char * go_search_replace_string (GOSearchReplace *sr
,const char *src
);
the string after search-and-replace.
However, if nothing changed, NULL
is returned.
[transfer full][nullable]
gboolean go_search_replace_verify (GOSearchReplace *sr
,gboolean repl
,GError **err
);
typedef struct { char *search_text; char *replace_text; GORegexp *comp_search; gboolean is_regexp; /* Search text is a regular expression. */ gboolean ignore_case; /* Consider "a" and "A" the same. */ gboolean preserve_case; /* Like Emacs' case-replace. */ gboolean match_words; /* Like grep -w. */ } GOSearchReplace;