summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2020-03-29 23:27:57 +0200
committerChristian Persch <chpe@src.gnome.org>2020-03-29 23:31:40 +0200
commitb9adc08edf2899b7f66fa03a86eb0f208c69a6bd (patch)
tree7a82c45f4d8e10a6684bec578e9391be63e566da
parentf0162eaf518ee260d08b7a794ff6f493df356433 (diff)
downloadvte-b9adc08edf2899b7f66fa03a86eb0f208c69a6bd.tar.gz
docs: Add regex flag requirements
Fixes: https://gitlab.gnome.org/GNOME/vte/issues/223
-rw-r--r--src/vtegtk.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 8f879512..5808a210 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -2277,6 +2277,8 @@ vte_terminal_hyperlink_check_event(VteTerminal *terminal,
* text is stored in @matches at the position of the regex in @regexes; otherwise
* %NULL is stored there.
*
+ * Note that the regexes in @regexes should have been created using the %PCRE2_MULTILINE flag.
+ *
* Returns: %TRUE iff any of the regexes produced a match
*
* Since: 0.46