diff options
author | Daniel Gruno <humbedooh@apache.org> | 2012-04-25 14:33:44 +0200 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2012-04-25 14:33:44 +0200 |
commit | 4c7a210dd804b1e0cb5c7ba9f6c47bdd033aefdc (patch) | |
tree | fa7e65a8bc932bd4a1bb04792c9d22cb8380716d /docs/manual | |
parent | make validate-xml a target of "all" (diff) | |
download | apache2-4c7a210dd804b1e0cb5c7ba9f6c47bdd033aefdc.tar.xz apache2-4c7a210dd804b1e0cb5c7ba9f6c47bdd033aefdc.zip |
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
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/style/scripts/prettify.js | 2 |
1 files changed, 1 insertions, 1 deletions
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], |