diff options
Diffstat (limited to 'src/index.rb')
-rwxr-xr-x | src/index.rb | 4 |
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(/&/, '&').gsub(/'/, "\\'") + s.gsub(/&/, '&').gsub(/'/, "\\'").gsub(/</, '<') end ARGV.each do |arg| |