String matching routines


データ構造

struct  apr_strmatch_pattern

型定義

typedef apr_strmatch_pattern apr_strmatch_pattern

関数

const char * apr_strmatch (const apr_strmatch_pattern *pattern, const char *s, apr_size_t slen)
const apr_strmatch_patternapr_strmatch_precompile (apr_pool_t *p, const char *s, int case_sensitive)

型定義

typedef struct apr_strmatch_pattern apr_strmatch_pattern

参照:
apr_strmatch_pattern


関数

const char* apr_strmatch ( const apr_strmatch_pattern pattern,
const char *  s,
apr_size_t  slen 
)

Search for a precompiled pattern within a string

引数:
pattern The pattern
s The string in which to search for the pattern
slen The length of s (excluding null terminator)
戻り値:
A pointer to the first instance of the pattern in s, or NULL if not found

const apr_strmatch_pattern* apr_strmatch_precompile ( apr_pool_t p,
const char *  s,
int  case_sensitive 
)

Precompile a pattern for matching using the Boyer-Moore-Horspool algorithm

引数:
p The pool from which to allocate the pattern
s The pattern string
case_sensitive Whether the matching should be case-sensitive
戻り値:
a pointer to the compiled pattern, or NULL if compilation fails


Apacheに対してSun Jul 19 22:05:32 2009に生成されました。  doxygen 1.4.7