From 62cae697c9825abc4ef66264e04708d5ee5bba9a Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 20 Sep 2006 11:19:05 +0000 Subject: update doc with new intervall regexp syntax --- doc/ivy-c.sgml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/ivy-c.sgml') 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 cb to the regular expression specif regex_format and the optional following arguments. regex_format and the following arguments are handled as in printf. 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. void IvyUnbindMsg (MsgRcvPtr id); -- cgit v1.1