summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.rb b/src/index.rb
index a52e04c..9c66c81 100755
--- a/src/index.rb
+++ b/src/index.rb
@@ -9,7 +9,7 @@ INSERT_SQL = %Q[
INSERT INTO searchIndex(name, type, path) VALUES ('%s','%s','%s');
]
-PATTERN = %r[<title>GNU automake: (.+)</title>]
+PATTERN = %r[<title>(.*)\(automake\)(.*)</title>]
def quote(s)
s.gsub(/&amp;/, '&').gsub(/'/, "\\'")