SyntaxHighlighter.brushes.Java=function()
{var keywords='abstract assert boolean break byte case catch char class const '+'continue default do double else enum extends '+'false final finally float for goto if implements import '+'instanceof int interface long native new null '+'package private protected public return '+'short static strictfp super switch synchronized this throw throws true '+'transient try void volatile while';this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:'comments'},{regex:/\/\*([^\*][\s\S]*)?\*\//gm,css:'comments'},{regex:/\/\*(?!\*\/)\*[\s\S]*?\*\//gm,css:'preprocessor'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:/\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi,css:'value'},{regex:/(?!\@interface\b)\@[\$\w]+\b/g,css:'color1'},{regex:/\@interface\b/g,css:'color2'},{regex:new RegExp(this.getKeywords(keywords),'gm'),css:'keyword'}];this.forHtmlScript({left:/(&lt;|<)%[@!=]?/g,right:/%(&gt;|>)/g});};SyntaxHighlighter.brushes.Java.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Java.aliases=['java'];SyntaxHighlighter.brushes.Perl=function()
{var funcs='abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr '+'chroot close closedir connect cos crypt defined delete each endgrent '+'endhostent endnetent endprotoent endpwent endservent eof exec exists '+'exp fcntl fileno flock fork format formline getc getgrent getgrgid '+'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr '+'getnetbyname getnetent getpeername getpgrp getppid getpriority '+'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid '+'getservbyname getservbyport getservent getsockname getsockopt glob '+'gmtime grep hex index int ioctl join keys kill lc lcfirst length link '+'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd '+'oct open opendir ord pack pipe pop pos print printf prototype push '+'quotemeta rand read readdir readline readlink readpipe recv rename '+'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl '+'semget semop send setgrent sethostent setnetent setpgrp setpriority '+'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread '+'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf '+'sqrt srand stat study substr symlink syscall sysopen sysread sysseek '+'system syswrite tell telldir time times tr truncate uc ucfirst umask '+'undef unlink unpack unshift utime values vec wait waitpid warn write';var keywords='bless caller continue dbmclose dbmopen die do dump else elsif eval exit '+'for foreach goto if import last local my next no our package redo ref '+'require return sub tie tied unless untie until use wantarray while';this.regexList=[{regex:new RegExp('#[^!].*$','gm'),css:'comments'},{regex:new RegExp('^\\s*#!.*$','gm'),css:'preprocessor'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:new RegExp('(\\$|@|%)\\w+','g'),css:'variable'},{regex:new RegExp(this.getKeywords(funcs),'gmi'),css:'functions'},{regex:new RegExp(this.getKeywords(keywords),'gm'),css:'keyword'}];this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);}
SyntaxHighlighter.brushes.Perl.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Perl.aliases=['perl','Perl','pl'];SyntaxHighlighter.brushes.Bash=function()
{var keywords='if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';var commands='alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot'+'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df '+'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval '+'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format '+'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig '+'import install join kill less let ln local locate logname logout look lpc lpr lprint '+'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools '+'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap '+'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice '+'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown '+'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time '+'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias '+'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir '+'vi watch wc whereis which who whoami Wget xargs yes';this.findMatches=function(regexList,code)
{code=code.replace(/&gt;/g,'>').replace(/&lt;/g,'<');this.code=code;return SyntaxHighlighter.Highlighter.prototype.findMatches.apply(this,[regexList,code]);};this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLinePerlComments,css:'comments'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:new RegExp(this.getKeywords(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.getKeywords(commands),'gm'),css:'functions'}];}
SyntaxHighlighter.brushes.Bash.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Bash.aliases=['bash','shell'];SyntaxHighlighter.brushes.Sql=function()
{var funcs='abs avg case cast coalesce convert count current_timestamp '+'current_user day isnull left lower month nullif replace right '+'session_user space substring sum system_user upper user year';var keywords='absolute action add after alter as asc at authorization begin bigint '+'binary bit by cascade char character check checkpoint close collate '+'column commit committed connect connection constraint contains continue '+'create cube current current_date current_time cursor database date '+'deallocate dec decimal declare default delete desc distinct double drop '+'dynamic else end end-exec escape except exec execute false fetch first '+'float for force foreign forward free from full function global goto grant '+'group grouping having hour ignore index inner insensitive insert instead '+'int integer intersect into is isolation key last level load local max min '+'minute modify move name national nchar next no numeric of off on only '+'open option order out output partial password precision prepare primary '+'prior privileges procedure public read real references relative repeatable '+'restrict return returns revoke rollback rollup rows rule schema scroll '+'second section select sequence serializable set size smallint static '+'statistics table temp temporary then time timestamp to top transaction '+'translation trigger true truncate uncommitted union unique update values '+'varchar varying view when where with work';var operators='all and any between cross in join like not null or outer some';this.regexList=[{regex:/--(.*)$/gm,css:'comments'},{regex:SyntaxHighlighter.regexLib.multiLineDoubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.multiLineSingleQuotedString,css:'string'},{regex:new RegExp(this.getKeywords(funcs),'gmi'),css:'color2'},{regex:new RegExp(this.getKeywords(operators),'gmi'),css:'color1'},{regex:new RegExp(this.getKeywords(keywords),'gmi'),css:'keyword'}];};SyntaxHighlighter.brushes.Sql.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Sql.aliases=['sql'];SyntaxHighlighter.brushes.Python=function()
{var keywords='and assert break class continue def del elif else '+'except exec finally for from global if import in is '+'lambda not or pass print raise return try yield while';var funcs='__import__ abs all any apply basestring bin bool buffer callable '+'chr classmethod cmp coerce compile complex delattr dict dir '+'divmod enumerate eval execfile file filter float format frozenset '+'getattr globals hasattr hash help hex id input int intern '+'isinstance issubclass iter len list locals long map max min next '+'object oct open ord pow print property range raw_input reduce '+'reload repr reversed round set setattr slice sorted staticmethod '+'str sum super tuple type type unichr unicode vars xrange zip';var special='None True False self cls class_';this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLinePerlComments,css:'comments'},{regex:/^\s*@\w+/gm,css:'decorator'},{regex:/(['\"]{3})([^\1])*?\1/gm,css:'comments'},{regex:/"(?!")(?:\.|\\\"|[^\""\n])*"/gm,css:'string'},{regex:/'(?!')(?:\.|(\\\')|[^\''\n])*'/gm,css:'string'},{regex:/\+|\-|\*|\/|\%|=|==/gm,css:'keyword'},{regex:/\b\d+\.?\w*/g,css:'value'},{regex:new RegExp(this.getKeywords(funcs),'gmi'),css:'functions'},{regex:new RegExp(this.getKeywords(keywords),'gm'),css:'keyword'},{regex:new RegExp(this.getKeywords(special),'gm'),css:'color1'}];this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);};SyntaxHighlighter.brushes.Python.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Python.aliases=['py','python'];SyntaxHighlighter.brushes.Plain=function()
{};SyntaxHighlighter.brushes.Plain.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Plain.aliases=['text','plain'];SyntaxHighlighter.brushes.Php=function()
{var funcs='abs acos acosh addcslashes addslashes '+'array_change_key_case array_chunk array_combine array_count_values array_diff '+'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+'array_push array_rand array_reduce array_reverse array_search array_shift '+'array_slice array_splice array_sum array_udiff array_udiff_assoc '+'array_udiff_uassoc array_uintersect array_uintersect_assoc '+'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+'strtoupper strtr strval substr substr_compare';var keywords='and or xor array as break case '+'cfunction class const continue declare default die do else '+'elseif enddeclare endfor endforeach endif endswitch endwhile '+'extends for foreach function include include_once global if '+'new old_function return static switch use require require_once '+'var while abstract interface public implements extends private protected throw';var constants='__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:'comments'},{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:'comments'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:/\$\w+/g,css:'variable'},{regex:new RegExp(this.getKeywords(funcs),'gmi'),css:'functions'},{regex:new RegExp(this.getKeywords(constants),'gmi'),css:'constants'},{regex:new RegExp(this.getKeywords(keywords),'gm'),css:'keyword'}];this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);};SyntaxHighlighter.brushes.Php.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Php.aliases=['php'];