summaryrefslogtreecommitdiff
path: root/src/index.rb
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-11-21 17:05:43 -0800
committerLouie Shprung <lshprung@scu.edu>2022-11-21 17:05:43 -0800
commite0110a2b0ba0a0a13e78bc9e453110f16d40087b (patch)
tree11aafcedd7b1ae63b5d9cb2c529d0a73b2962661 /src/index.rb
parent1433e5580757ef140bc64bcc5a904fd0ab9401ed (diff)
Replaced all instances of 'GNU Automake' with 'GNU Autoconf'
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|