1
0
mirror of https://github.com/apache/httpd.git synced 2025-07-30 20:03:10 +03:00

Fix to apidoc comments in ap_regex

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@997560 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Kew
2010-09-16 01:44:09 +00:00
parent 1038d34486
commit a66f25dc13

View File

@ -100,7 +100,8 @@ typedef struct {
* Compile a regular expression. * Compile a regular expression.
* @param preg Returned compiled regex * @param preg Returned compiled regex
* @param regex The regular expression string * @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 * @return Zero on success or non-zero on error
*/ */
AP_DECLARE(int) ap_regcomp(ap_regex_t *preg, const char *regex, int cflags); 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 *preg, const char *regex, int cflags);
* @param string The string to match * @param string The string to match
* @param nmatch Provide information regarding the location of any matches * @param nmatch Provide information regarding the location of any matches
* @param pmatch 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 * @param eflags Bitwise OR of AP_REG_* flags (NOTBOL and NOTEOL supported,
* @return 0 for successful match, \p REG_NOMATCH otherwise * 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, AP_DECLARE(int) ap_regexec(const ap_regex_t *preg, const char *string,
apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags); apr_size_t nmatch, ap_regmatch_t *pmatch, int eflags);