Sha256: 7bfc42c6446ba6cc07e69c2110ee259eade4365e1f6acbd135120fde0abb7bfa

Contents?: true

Size: 731 Bytes

Versions: 14

Compression:

Stored size: 731 Bytes

Contents

preproc = "import|from"

include "script_comment.lang"

include "number.lang"

keyword = "and|assert|break|class|continue|def|del|elif|else|except|exec",
           "finally|for|global|if|in|is|lambda|not|or|pass",
           "print|raise|return|try|while"

comment delim '^([[:space:]]*\'{3})' '(\'{3})' multiline 
comment delim '^([[:space:]]*\"{3})' '(\"{3})' multiline 

comment = '^([[:space:]]*\'(?:[^\\\']|\\.)*\'[[:space:]]*|[[:space:]]*\"(?:[^\\\"]|\\.)*\"[[:space:]]*)$'

string delim '([[:space:]]*\'{3})' '(\'{3})' multiline 
string delim '([[:space:]]*\"{3})' '(\"{3})' multiline 

string delim "\"" "\"" escape "\\" 
string delim "'" "'"  escape "\\" 

include "symbols.lang"
symbol = "{|}"

include "function.lang"

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
FooBarWidget-mizuho-0.9.5 source-highlight/python.lang
mizuho-0.9.20 source-highlight/python.lang
mizuho-0.9.19 source-highlight/python.lang
mizuho-0.9.18 source-highlight/python.lang
mizuho-0.9.17 source-highlight/python.lang
mizuho-0.9.15 source-highlight/python.lang
mizuho-0.9.14 source-highlight/python.lang
mizuho-0.9.13 source-highlight/python.lang
mizuho-0.9.12 source-highlight/python.lang
mizuho-0.9.11 source-highlight/python.lang
mizuho-0.9.10 source-highlight/python.lang
mizuho-0.9.9 source-highlight/python.lang
mizuho-0.9.8 source-highlight/python.lang
mizuho-0.9.6 source-highlight/python.lang