You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/12/04 22:28:12 UTC

svn commit: r1210226 - /httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci

Author: sf
Date: Sun Dec  4 21:28:12 2011
New Revision: 1210226

URL: http://svn.apache.org/viewvc?rev=1210226&view=rev
Log:
coccinelle 1.0 has changed the syntax for regexps

Modified:
    httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci

Modified: httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci?rev=1210226&r1=1210225&r2=1210226&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci (original)
+++ httpd/httpd/trunk/docs/log-message-tags/find-messages.cocci Sun Dec  4 21:28:12 2011
@@ -1,8 +1,8 @@
 @r@
 expression rv, s;
-constant char [] format;
-identifier level ~= "^APLOG_\(EMERG\|ALERT\|CRIT\|ERR\|WARNING\|NOTICE\|INFO\|STARTUP\|DEBUG\)$";
-identifier fn ~= "^ap_log_\(\|r\|c\|p\)error$";
+constant char [] format !~ "APLOGNO";
+identifier level =~ "^APLOG_(EMERG|ALERT|CRIT|ERR|WARNING|NOTICE|INFO|STARTUP|DEBUG)$";
+identifier fn =~ "^ap_log_(|r|c|p)error$";
 
 @@
         fn( APLOG_MARK ,