From de1a26a4d351abff670ef384ff183abcae699231 Mon Sep 17 00:00:00 2001
From: Bob Vincent <bobvin@pillars.net>
Date: Tue, 15 Mar 2011 21:28:00 -0400
Subject: [PATCH] Issue #822260 by chx,pillarsdotnet: Coder does not recognize method names as functions

---
 coder_review/includes/coder_review_comment.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/coder_review/includes/coder_review_comment.inc b/coder_review/includes/coder_review_comment.inc
index e2f266d..79a41e5 100644
--- a/coder_review/includes/coder_review_comment.inc
+++ b/coder_review/includes/coder_review_comment.inc
@@ -52,7 +52,7 @@ function coder_review_comment_reviews() {
       '#type' => 'regex',
       '#source' => 'comment',
       '#value' => '\@see\s*.*',
-      '#not' => '^\@see\s+((\w+\(\)|[\w\.\-\?\/:\&=]+\.[\w\.\->\?\/:\&=]+)[,\s]+)*(\w+\(\)|[\w\.\->\?\/:\&=]+\.[\w\.\->\?\/:\&=]+)\W*$',
+      '#not' => '^\@see\s+((\w+(::\w+?)\(\)|[\w\.\-\?\/:\&=]+\.[\w\.\->\?\/:\&=]+)[,\s]+)*(\w+\(\)|[\w\.\->\?\/:\&=]+\.[\w\.\->\?\/:\&=]+)\W*$',
       '#warning' => '@see should always be followed by a filename, a url or a function name with ()',
       '#severity' => 'minor',
     ),
-- 
1.7.1

