summaryrefslogtreecommitdiff
path: root/support/list_hooks.pl
diff options
context:
space:
mode:
authorBen Laurie <ben@apache.org>2002-09-26 11:58:25 +0000
committerBen Laurie <ben@apache.org>2002-09-26 11:58:25 +0000
commitae2c65467d93e9fbfdde5a942d44eff78a411e5d (patch)
tree70367f3a30a7df699f26169b424d09f5f575da88 /support/list_hooks.pl
parentb31bec2fe90088dd9667ddb00860fd9ef75a45b9 (diff)
downloadhttpd-ae2c65467d93e9fbfdde5a942d44eff78a411e5d.tar.gz
Improve hook matching.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/list_hooks.pl')
-rwxr-xr-xsupport/list_hooks.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/list_hooks.pl b/support/list_hooks.pl
index 6de9b41d12..b2d0dd8ca5 100755
--- a/support/list_hooks.pl
+++ b/support/list_hooks.pl
@@ -61,7 +61,7 @@ sub scanFile {
$::Hooks{$name}->{declared}=$file;
$::Hooks{$name}->{ret}=$ret;
$::Hooks{$name}->{args}=$args;
- } elsif(/AP_DECLARE_HOOK\(([^,]+),([^,]+)/) {
+ } elsif(/AP_DECLARE_HOOK\((\s*[^,\s]+)\s*,\s*([^,\s]+)/) {
# really we should swallow subsequent lines to get the arguments...
my $name=$2;
my $ret=$1;