diff options
author | Louie S <louie@example.com> | 2022-11-04 15:16:19 -0700 |
---|---|---|
committer | Louie S <louie@example.com> | 2022-11-04 15:16:19 -0700 |
commit | 1433e5580757ef140bc64bcc5a904fd0ab9401ed (patch) | |
tree | 7e90239b1407bcfccdd78db1f0f735ae86ff18ec /src | |
parent | 18db3871eace8da1cbdc6b2c15a155024254e4e5 (diff) |
Replaced all instances of 'mkdir' with 'mkdir -p'; Fixed broken title pattern
Diffstat (limited to 'src')
-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(/'/, "\\'") |