summaryrefslogtreecommitdiff
path: root/Ivy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy.pm')
-rw-r--r--Ivy.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ivy.pm b/Ivy.pm
index 4b535e8..34914d6 100644
--- a/Ivy.pm
+++ b/Ivy.pm
@@ -2013,7 +2013,8 @@ See perlre(1) to find how to write regexps.
Use the bracketing construct ( ... ) so that your callback is
called with the captured bits of text as parameters.
To unbind callback(s) associated to a regexp use bindRegexp with only
-one argument, the regexp.
+one argument, the regexp. Note that doing the same binding more than
+once will induce multiple call of the same callback (this is usually a bug).
Example :
$ivyobject->bindRegexp("\w+ (\d+)", [\&callback, @cb_parameters]);