summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorbustico2006-09-20 11:19:05 +0000
committerbustico2006-09-20 11:19:05 +0000
commit62cae697c9825abc4ef66264e04708d5ee5bba9a (patch)
treeee467fb308152affb76f5fc94e60c96bb58cc4f0 /doc
parent0efdf8c11e50d6aed89ed72760a72e68b701bf9d (diff)
downloadivy-c-62cae697c9825abc4ef66264e04708d5ee5bba9a.zip
ivy-c-62cae697c9825abc4ef66264e04708d5ee5bba9a.tar.gz
ivy-c-62cae697c9825abc4ef66264e04708d5ee5bba9a.tar.bz2
ivy-c-62cae697c9825abc4ef66264e04708d5ee5bba9a.tar.xz
update doc with new intervall regexp syntax
Diffstat (limited to 'doc')
-rw-r--r--doc/ivy-c-functions.17
-rw-r--r--doc/ivy-c.sgml7
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/ivy-c-functions.1 b/doc/ivy-c-functions.1
index 9c20ad4..d54bb77 100644
--- a/doc/ivy-c-functions.1
+++ b/doc/ivy-c-functions.1
@@ -172,6 +172,13 @@ Message binding
In this example the function \fBStartTimeCallback\fR will be called
each time the string \fBCLOCK Start time=(.*)\fR will be emitted on
the bus.
+There is a special syntax for specifying numeric interval, in this case
+the interval is locally transformed in a pcre regexp.
+syntax is \fB(?Imin#max[fi])\fR. min and max are the bounds,
+by default the regexp match decimal number, but if max bound is
+followed by 'i', the regexp match only integers ex : \fB(?I-10#20), (?I20#25i)\fR
+Note that due to the regexp generator limitation (which will perhaps be raised eventually)
+the bounds are always integers.
.SH
\fBIvyUnbindMsg\fR:
Message unbinding
diff --git a/doc/ivy-c.sgml b/doc/ivy-c.sgml
index 0021035..b737f6c 100644
--- a/doc/ivy-c.sgml
+++ b/doc/ivy-c.sgml
@@ -364,6 +364,13 @@ binds callback function <function>cb</function> to the regular expression specif
<parameter>regex_format</parameter> and the optional following arguments. <parameter>regex_format</parameter> and
the following arguments are handled as in <function>printf</function>. The return
value is an identifier that can be used later for cancelling the subscription.
+There is a special syntax for specifying numeric interval, in this case
+the interval is locally transformed in a pcre regexp.
+syntax is (?Imin#max[fi]). min and max are the bounds,
+by default the regexp match decimal number, but if max bound is
+followed by 'i', the regexp match only integers ex : (?I-10#20), (?I20#25i)
+Note that due to the regexp generator limitation (which will perhaps be raised eventually)
+the bounds are always integers.
<programlisting>
void IvyUnbindMsg (MsgRcvPtr id);