<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--
****************************************************************************
- * Copyright (c) 1998-2002,2003 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2003,2006 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: form_field_validation.3x,v 1.14 2003/05/10 20:33:49 jmc Exp @
+ * @Id: form_field_validation.3x,v 1.16 2006/12/24 16:08:08 tom Exp @
-->
<HTML>
<HEAD>
Regular expression data. Requires a regular expres-
sion <STRONG>(char</STRONG> <STRONG>*)</STRONG> third argument; the data is valid if
the regular expression matches it. Regular expres-
- sions are in the format of <STRONG><A HREF="regcomp.3x.html">regcomp(3x)</A></STRONG> and
- <STRONG><A HREF="regexec.3x.html">regexec(3x)</A></STRONG>. Please notice that the regular expres-
- sion must match the whole field. If you have for
- example an eight character wide field, a regular
- expression "^[0-9]*$" always means that you have to
- fill all eight positions with digits. If you want to
- allow fewer digits, you may use for example "^[0-9]*
- *$" which is good for trailing spaces (up to an empty
- field), or "^ *[0-9]* *$" which is good for leading
- and trailing spaces around the digits.
+ sions are in the format of <STRONG>regcomp</STRONG> and <STRONG>regexec</STRONG>.
+ Please notice that the regular expression must match
+ the whole field. If you have for example an eight
+ character wide field, a regular expression "^[0-9]*$"
+ always means that you have to fill all eight posi-
+ tions with digits. If you want to allow fewer digits,
+ you may use for example "^[0-9]* *$" which is good
+ for trailing spaces (up to an empty field), or "^
+ *[0-9]* *$" which is good for leading and trailing
+ spaces around the digits.
TYPE_IPV4
An Internet Protocol Version 4 address. This requires