projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349ff86
)
re-improve regexp
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 4 Jul 2006 00:31:03 +0000
(
00:31
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 4 Jul 2006 00:31:03 +0000
(
00:31
+0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 70d4a7a564326986329b47f135bdf656eba3618b..f8c1f9d3e544ba3386661e5c804237d6577fc186 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-123,7
+123,7
@@
sub dirname ($) { #{{{
sub pagetype ($) { #{{{
my $page=shift;
- if ($page =~ /\.(
.*?
)$/) {
+ if ($page =~ /\.(
[^.]+
)$/) {
return $1 if exists $hooks{htmlize}{$1};
}
return undef;