Index: includes/coder_comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/includes/coder_comment.inc,v
retrieving revision 1.1.4.2
diff -u -r1.1.4.2 coder_comment.inc
--- includes/coder_comment.inc 9 Jan 2008 13:31:12 -0000 1.1.4.2
+++ includes/coder_comment.inc 22 Jan 2008 16:13:56 -0000
@@ -70,6 +70,36 @@
       '#warning' => '@see references should be separated by ", "',
       '#severity' => 'minor',
     ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'comment',
+      '#value' => 'Implementation\s+of\s+hook_\w+\(\)\s*$',
+      '#warning' => 'Missing period',
+      '#severity' => 'minor',
+    ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'comment',
+      '#value' => 'Implementation\s+of\s+hook_\w+\s*\.*$',
+      '#warning' => 'Missing parenthesis after function name',
+      '#severity' => 'minor',
+    ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'comment',
+      '#value' => '^.*\s+of\s+hook_\w+',
+      '#not' => '^\s\*\sImplementation\s+of\s+hook_\w+',
+      '#warning' => 'Format should be <code>* Implementation of hook_foo().</code>',
+      '#severity' => 'minor',
+    ),
+    array(
+      '#type' => 'regex',
+      '#source' => 'comment',
+      '#value' => 'implementation\s+of\s+hook_\w+',
+      '#warning' => '\'Implementation\' should be at the start of the sentence and begin with a capitialized letter',
+      '#severity' => 'minor',
+      '#case-sensitive' => true,
+    ),
   );
   $review = array(
     '#title' => t('Drupal Commenting Standards'),
Index: tests/coder_comment.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/coder/tests/coder_comment.inc,v
retrieving revision 1.1.4.2
diff -u -r1.1.4.2 coder_comment.inc
--- tests/coder_comment.inc 9 Jan 2008 13:31:12 -0000 1.1.4.2
+++ tests/coder_comment.inc 22 Jan 2008 16:13:56 -0000
@@ -25,3 +25,14 @@
  * @see some_function(),
  * @see some_function(), some-template.tpl.php, not_ok.tpl.php.
  */
+
+/*
+ * Implementation of hook_foo().
+ * Implementation of hook_foo()
+ * implementation of hook_foo().
+ * Implementation of hook_foo
+ * Implementation of hook_foo.
+ * Implemetation of hook_foo().
+ */
+// Implementation of hook_foo().
+/* Implementation of hook_foo(). */