From 4c7a210dd804b1e0cb5c7ba9f6c47bdd033aefdc Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Wed, 25 Apr 2012 12:33:44 +0000 Subject: Make the lexer only highlight enclosures in config syntax if they are whole words, and update to also recognize FilesMatch, LocationMatch, Limit etc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330241 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/style/scripts/prettify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/manual/style/scripts/prettify.js b/docs/manual/style/scripts/prettify.js index c9cc956486..01cea31bb3 100644 --- a/docs/manual/style/scripts/prettify.js +++ b/docs/manual/style/scripts/prettify.js @@ -887,7 +887,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[ fallthroughStylePatterns.push( // TODO(mikesamuel): recognize non-latin letters and numerals in idents [PR_LITERAL, /^@[a-z_$][a-z_$@0-9]*|NULL/i, null], - [PR_TAG, /^Directory|Location|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer/i, null], + [PR_TAG, /^Directory|DirectoryMatch|Location|LocationMatch|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer|Files|FilesMatch|Limit|LimitExcept|IfDefine|IfModule/i, null], [PR_TYPE, /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_(t|req)\b)/, null], [PR_TAG, /^apr_[a-z_0-9]+|ap_[a-z_0-9]+/i, null], [PR_PLAIN, /^[a-z_$][a-z_$@0-9]*/i, null], -- cgit v1.2.3