diff --git a/htmLawed.module b/htmLawed.module
index ad4c8dd..939cc42 100644
--- a/htmLawed.module
+++ b/htmLawed.module
@@ -37,9 +37,8 @@ function htmLawed_libraries_info() {
     'version arguments' => array(
     // The htmLawed version is supposed to be hard-coded within function hl_version() in htmLawed.php
       'file' => 'htmLawed.php',
-      'pattern' => "`return '([^']+)'`",
-      'lines' => 1500,
-      'cols' => 30,
+      'pattern' => "`^htmLawed ([^,]+),`",
+      'lines' => 4,
     ),
     'files' => array(
       'php' => array(
