topical media & game development

talk show tell print

lib-jquery-plugin-charts-include-js-lib-ycodaslider-2.0.rc2-lib-chili-csharp.js / js



  /*
  ===============================================================================
  Chili is the jQuery code highlighter plugin
  ...............................................................................
                                                 Copyright 2007 / Andrea Ercolino
  -------------------------------------------------------------------------------
  LICENSE: http://www.opensource.org/licenses/mit-license.php
  WEBSITE: http://noteslog.com/chili/
  ===============================================================================
  */
  
  {
  	steps: {
                    mlcom  : { exp: /\/\*[^*]*\*+(?:[^\/][^*]*\*+)*\// }
                  , com    : { exp: /\/\/.*/ }
                  , string : { exp: /(?:\'[^\'\\\n]*(?:\\.[^\'\\\n]*)*\')|(?:\"[^\"\\\n]*(?:\\.[^\"\\\n]*)*\")/ }
                  , preproc: { exp: /^\s*#.*/ }
                  , number : { exp: /\b[+-]?(?:\d*\.?\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?\b/ }
                  , keyword: { exp: /\b(?:abstract|as|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|get|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|set|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|while)\b/ }
          }
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.