You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2010/09/16 03:51:05 UTC

svn commit: r997562 - /httpd/httpd/branches/2.2.x/include/ap_regex.h

Author: niq
Date: Thu Sep 16 01:51:05 2010
New Revision: 997562

URL: http://svn.apache.org/viewvc?rev=997562&view=rev
Log:
Fix apidoc comments in ap_regex

Modified:
    httpd/httpd/branches/2.2.x/include/ap_regex.h

Modified: httpd/httpd/branches/2.2.x/include/ap_regex.h
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/include/ap_regex.h?rev=997562&r1=997561&r2=997562&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/include/ap_regex.h (original)
+++ httpd/httpd/branches/2.2.x/include/ap_regex.h Thu Sep 16 01:51:05 2010
@@ -100,7 +100,8 @@ typedef struct {
  * Compile a regular expression.
  * @param preg Returned compiled regex
  * @param regex The regular expression string
- * @param cflags Must be zero (currently).
+ * @param cflags Bitwise OR of AP_REG_* flags (ICASE and NEWLINE supported,
+ *                                             other flags are ignored)
  * @return Zero on success or non-zero on error
  */
 AP_DECLARE(int) ap_regcomp(ap_regex_t *preg, const char *regex, int cflags);
@@ -111,8 +112,9 @@ AP_DECLARE(int) ap_regcomp(ap_regex_t *p
  * @param string The string to match
  * @param nmatch Provide information regarding the location of any matches
  * @param pmatch Provide information regarding the location of any matches
- * @param eflags Bitwise OR of any of AP_REG_* flags 
- * @return 0 for successful match, #REG_NOMATCH otherwise
+ * @param eflags Bitwise OR of AP_REG_* flags (NOTBOL and NOTEOL supported,
+ *                                             other flags are ignored)
+ * @return 0 for successful match, AP_REG_NOMATCH otherwise
  */ 
 AP_DECLARE(int) ap_regexec(const ap_regex_t *preg, const char *string,
                            apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags);