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:44:09 UTC
svn commit: r997560 - /httpd/httpd/trunk/include/ap_regex.h
Author: niq
Date: Thu Sep 16 01:44:09 2010
New Revision: 997560
URL: http://svn.apache.org/viewvc?rev=997560&view=rev
Log:
Fix to apidoc comments in ap_regex
Modified:
httpd/httpd/trunk/include/ap_regex.h
Modified: httpd/httpd/trunk/include/ap_regex.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/ap_regex.h?rev=997560&r1=997559&r2=997560&view=diff
==============================================================================
--- httpd/httpd/trunk/include/ap_regex.h (original)
+++ httpd/httpd/trunk/include/ap_regex.h Thu Sep 16 01:44:09 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, \p REG_NOMATCH otherwise
+ * @param eflags Bitwise OR of AP_REG_* flags (NOTBOL and NOTEOL supported,
+ * other flags are ignored)
+ * @return 0 for successful match, \p 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);