[docs] docs - jon modified ic_ecommerce.sdf

docs@icdevgroup.org docs@icdevgroup.org
Sat Dec 14 13:02:02 2002


User:      jon
Date:      2002-12-14 18:01:47 GMT
Modified:  .        ic_ecommerce.sdf
Log:
More detailed documentation of 'regex' profile check.

Revision  Changes    Path
1.21      +7 -7      docs/ic_ecommerce.sdf


rev 1.21, prev_rev 1.20
Index: ic_ecommerce.sdf
===================================================================
RCS file: /var/cvs/docs/ic_ecommerce.sdf,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -u -r1.20 -r1.21
--- ic_ecommerce.sdf	30 Oct 2002 17:23:59 -0000	1.20
+++ ic_ecommerce.sdf	14 Dec 2002 18:01:47 -0000	1.21
@@ -1,10 +1,10 @@
 !init OPT_LOOK="icdevgroup"; OPT_STYLE="manual"
-# $Id: ic_ecommerce.sdf,v 1.20 2002/10/30 17:23:59 mheins Exp $
+# $Id: ic_ecommerce.sdf,v 1.21 2002/12/14 18:01:47 jon Exp $
 
 !define DOC_NAME "Interchange Ecommerce Functions"
 !define DOC_TYPE ""
 !define DOC_CODE "ic_ecommerce"
-!define DOC_VERSION substr('$Revision: 1.20 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.21 $',11, -2)
 !define DOC_STATUS "Draft"
 !define DOC_PROJECT "Interchange"
 !define DOC_URL "http://www.icdevgroup.org/doc/ic_ecommerce.html"
@@ -1364,8 +1364,9 @@
 
 =item regex
 
-A regular expression to check against. To check that all submissions of the "foo" variable have
-"bar" at the beginning, do:
+One or more regular expressions (space-separated) to check against. To
+check that all submissions of the "foo" variable have "bar" at the
+beginning, do:
 
 >	foo=regex ^bar
 
@@ -1373,10 +1374,9 @@
 
 >   foo=regex ^bar "You must have bar at the beginning of this"
 
-If you want to use a backslash to introduce a Perl literal like C<\w>, you must double
-the backslash, i.e. 
+You can require that the value B<not> match the regex by preceding the regex with a B<!> character (and no space afterwards):
 
->	foo=regex ^bar\\w+$ "You must have 'bar' followed by only word characters"
+>   foo=regex !^bar "You may not have bar at the beginning!"
 
 =item length