summaryrefslogtreecommitdiff
path: root/src/index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.rb')
-rwxr-xr-xsrc/index.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.rb b/src/index.rb
index 9c66c81..3dc8468 100755
--- a/src/index.rb
+++ b/src/index.rb
@@ -9,10 +9,10 @@ INSERT_SQL = %Q[
INSERT INTO searchIndex(name, type, path) VALUES ('%s','%s','%s');
]
-PATTERN = %r[<title>(.*)\(automake\)(.*)</title>]
+PATTERN = %r[<title>(.*)\(Autoconf\)(.*)</title>]
def quote(s)
- s.gsub(/&amp;/, '&').gsub(/'/, "\\'")
+ s.gsub(/&amp;/, '&').gsub(/'/, "\\'").gsub(/&lt;/, '<')
end
ARGV.each do |arg|