diff options
Diffstat (limited to 'src/index.rb')
-rwxr-xr-x | src/index.rb | 2 |
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(/&/, '&').gsub(/'/, "\\'") |