Subject: [PATCH] Some packages use yui-*.js instead of yahoo-*.js, match those as well

From: Raphael Geissert <[email-masked]>
Date: Mon, 23 Feb 2009 02:29:37 -0600

---
 checks/files |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/checks/files b/checks/files
index 690fbb3..bf8d522 100644
--- a/checks/files
+++ b/checks/files
@@ -37,7 +37,7 @@ our @jslibraries = (
     [ qr,(?i)fckeditor\.js(\.gz)?$, => 'fckeditor' ],
     [ qr,(?i)cropper(\.uncompressed)?\.js(\.gz)?$, => 'libjs-cropper' ],
     [ qr,(?i)swfobject\.js(\.gz)?$, => 'libjs-yui' ],
-    [ qr,(?i)yahoo-(dom-event|min)\.js(\.gz)?$, => 'libjs-yui' ],
+    [ qr,(?i)y(ahoo|ui)-(dom-event|min)\.js(\.gz)?$, => 'libjs-yui' ],
 # Disabled due to false positives.  Needs a content check adding to verify
 # that the file being checked is /the/ yahoo.js
 #    [ qr,(?i)yahoo\.js(\.gz)?$, => 'libjs-yui' ],