2 /*************************************************************************************
5 * Author: Milian Wolff (mail@milianw.de)
6 * Copyright: (c) 2008 Milian Wolff (http://milianw.de)
7 * Release Version: 1.0.8.4
8 * Date Started: 2008/06/17
10 * Apt sources.list language file for GeSHi.
17 *************************************************************************************
19 * This file is part of GeSHi.
21 * GeSHi is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License as published by
23 * the Free Software Foundation; either version 2 of the License, or
24 * (at your option) any later version.
26 * GeSHi is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with GeSHi; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35 ************************************************************************************/
37 $language_data = array (
38 'LANG_NAME' => 'Apt sources',
39 'COMMENT_SINGLE' => array(1 => '#'),
40 'COMMENT_MULTI' => array(),
41 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
42 'QUOTEMARKS' => array(),
43 'ESCAPE_CHAR' => '\\',
51 'stable', 'old-stable', 'testing', 'testing-proposed-updates',
52 'unstable', 'unstable-proposed-updates', 'experimental',
53 'non-US', 'security', 'volatile', 'volatile-sloppy',
57 'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge',
58 'etch', 'lenny', 'sid',
60 'warty', 'warty-updates', 'warty-security', 'warty-proposed', 'warty-backports',
61 'hoary', 'hoary-updates', 'hoary-security', 'hoary-proposed', 'hoary-backports',
62 'breezy', 'breezy-updates', 'breezy-security', 'breezy-proposed', 'breezy-backports',
63 'dapper', 'dapper-updates', 'dapper-security', 'dapper-proposed', 'dapper-backports',
64 'edgy', 'edgy-updates', 'edgy-security', 'edgy-proposed', 'edgy-backports',
65 'feisty', 'feisty-updates', 'feisty-security', 'feisty-proposed', 'feisty-backports',
66 'gutsy', 'gutsy-updates', 'gutsy-security', 'gutsy-proposed', 'gutsy-backports',
67 'hardy', 'hardy-updates', 'hardy-security', 'hardy-proposed', 'hardy-backports',
68 'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports'
71 'main', 'restricted', 'preview', 'contrib', 'non-free',
72 'commercial', 'universe', 'multiverse'
76 0 => "(((http|ftp):\/\/|file:\/)[^\s]+)|(cdrom:\[[^\]]*\][^\s]*)",
80 'CASE_SENSITIVE' => array(
81 GESHI_COMMENTS
=> false,
88 1 => 'color: #00007f;',
89 2 => 'color: #b1b100;',
90 3 => 'color: #b16000;'
93 1 => 'color: #adadad; font-style: italic;',
95 'ESCAPE_CHAR' => array(
108 0 => 'color: #009900;',
119 'OBJECT_SPLITTERS' => array(
121 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
122 'SCRIPT_DELIMITERS' => array(
124 'HIGHLIGHT_STRICT_BLOCK' => array(
126 'PARSER_CONTROL' => array(
127 'ENABLE_FLAGS' => array(
128 'NUMBERS' => GESHI_NEVER
,
129 'METHODS' => GESHI_NEVER
,
130 'SCRIPT' => GESHI_NEVER
,
131 'SYMBOLS' => GESHI_NEVER
,
132 'ESCAPE_CHAR' => GESHI_NEVER
,
133 'BRACKETS' => GESHI_NEVER
,
134 'STRINGS' => GESHI_NEVER
,
137 'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9\$_\|\#;>|^\/])',
138 'DISALLOWED_AFTER' => '(?![a-zA-Z0-9_\|%\\-&\.])'