You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2003/03/04 00:46:24 UTC
cvs commit: apr-util/include apr_date.h
wrowe 2003/03/03 15:46:24
Modified: include apr_date.h
Log:
Caught it. Asterisk acted as a bullet, but cannot be \ escaped... so we
simply single quote all of the items to 'escape' the asterisk.
Revision Changes Path
1.12 +7 -7 apr-util/include/apr_date.h
Index: apr_date.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_date.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- apr_date.h 3 Mar 2003 23:41:11 -0000 1.11
+++ apr_date.h 3 Mar 2003 23:46:24 -0000 1.12
@@ -89,14 +89,14 @@
* @param data The string to compare
* @param mask Mask characters (arbitrary maximum is 256 characters):
* <PRE>
- * \@ - uppercase letter
- * \$ - lowercase letter
- * \& - hex digit
- * # - digit
- * ~ - digit or space
- * * - swallow remaining characters
- * \<x\> - exact match for any other character
+ * '\@' - uppercase letter
+ * '\$' - lowercase letter
+ * '\&' - hex digit
+ * '#' - digit
+ * '~' - digit or space
+ * '*' - swallow remaining characters
* </PRE>
+ * @remark The mask tests for an exact match for any other character
* @return 1 if the string matches, 0 otherwise
*/
APU_DECLARE(int) apr_date_checkmask(const char *data, const char *mask);