diff options
Diffstat (limited to 'support/highlight/langDefs/xml.lang')
-rw-r--r-- | support/highlight/langDefs/xml.lang | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/support/highlight/langDefs/xml.lang b/support/highlight/langDefs/xml.lang new file mode 100644 index 0000000000..ced4d44b22 --- /dev/null +++ b/support/highlight/langDefs/xml.lang @@ -0,0 +1,27 @@ +# XML language definition file +# +# Author: Andre Simon +# Mail: andre.simon1@gmx.de +# Date: 02.03.2003 +# Update: 06.01.2009 +# ------------------------------------------ +# This file is a part of highlight, a free source code converter released under the GPL. +# +# The file is used to describe keywords and special symbols of programming languages. +# See README in the highlight directory for details. +# +# New definition files for future releases of highlight are always appreciated ;) +# ---------- +# andre.simon1@gmx.de +# http:/www.andre-simon.de/ + +$DESCRIPTION=XML + +#$KEYWORDS(kwa)=regex(<!?\/?\??[\w\:\-]+>?|\??/?>) +$KEYWORDS(kwa)=regex(<!?(?!\-\-)\/?\??[\w\:\-]+>?|\??/?>, 0) + +$KEYWORDS(kwb)=regex(([-\w]+)=") +$KEYWORDS(kwd)=regex(\&\#?\w+;) +$STRINGDELIMITERS=" +$ML_COMMENT= <!-- --> +$IGNORECASE=true
\ No newline at end of file |