apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr-util/include apr_date.h
Date Mon, 03 Mar 2003 23:46:24 GMT
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);
  
  
  

Mime
View raw message