! Syntax highlighting patterns for Perl ! ! INSTALLATION ! ! Load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! These comments will not appear in your ~/.nedit ! nedit.highlightPatterns: Perl:2:0{\n\ dq here doc:"(\\<\\<(""?))EOF(\\2.*)$":"^EOF>"::Label::\n\ dq here doc delims:"\\1\\3":::Keyword:dq here doc:C\n\ dq here doc esc chars:"\\\\([nrtfbaeulULQE@%\\$\\\\]|0[0-7]+|x[0-9a-fA-F]+|c\\l)":::Text Escape:dq here doc:\n\ dq here doc variables:"\\$([-_./,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:dq here doc:\n\ dq here doc content:".":::String:dq here doc:\n\ dq string:"<""":"""":"\\n\\s*\\n":String::\n\ dq string delims:"&":"&"::Keyword:dq string:C\n\ dq string esc chars:"\\\\([nrtfbaeulULQE""@%\\$\\\\]|0[0-7]+|x[0-9a-fA-F]+|c\\l)":::Text Escape:dq string:\n\ dq string variables:"\\$([-_./,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:dq string:\n\ gen dq string:"(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:gen dq string:\n\ sq here doc:"(\\<\\<')EOF('.*)$":"^EOF>"::Label::\n\ sq here doc delims:"\\1\\2":::Keyword:sq here doc:C\n\ sq here doc esc chars:"\\\\\\\\":::Text Escape:sq here doc:\n\ sq here doc content:".":::String1:sq here doc:\n\ sq string:"<'":"'":"\\n\\s*\\n":String1::\n\ sq string delims:"&":"&"::Keyword:sq string:C\n\ sq string esc chars:"\\\\(\\\\|')":::Text Escape:sq string:\n\ gen sq string:")|(\\{)[-\\w]+(\\})":::String1::\n\ implicit sq delims:"\\1\\2":::Keyword:implicit sq:C\n\ word list:""::Label::\n\ bq here doc delims:"\\1\\2":::Keyword:bq here doc:C\n\ bq here doc comment:"#":"$"::Comment:bq here doc:\n\ bq here doc variables:"\\$([-_./,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:bq here doc:\n\ bq here doc content:".":::String1:bq here doc:\n\ bq string:"<`":"`>":"\\n\\s*\\n":String1::\n\ bq string delims:"&":"&"::Keyword:bq string:C\n\ bq string variables:"\\$([-_./,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:bq string:\n\ gen bq string:"(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:gen bq string:\n\ gen bq string esc chars:"\\\\/":::Text Escape:gen bq string:\n\ transliteration:"<((y|tr)/)(\\\\/|[^/])+(/)(\\\\/|[^/])*(/[cds]*)":::String::D\n\ transliteration delims:"\\1\\4\\6":::Keyword:transliteration:DC\n\ last array index:"\\$#([\\l_](\\w|::(?=\\w))*)?":::Identifier1::\n\ comment:"#":"$"::Comment::\n\ label:"((?:^|;)\\s*<([A-Z_]+)>\\s*:(?=(?:[^:]|\\n)))|(goto|last|next|redo)\\s+(<((if|unless)|[A-Z_]+)>|)":::Plain::\n\ label identifier:"\\2\\5":::Label:label:C\n\ label keyword:"\\3\\6":::Keyword:label:C\n\ handle:"(\\<)[A-Z_]+(\\>)|(bind|binmode|close(?:dir)?|connect|eof|fcntl|fileno|flock|getc|getpeername|getsockname|getsockopt|ioctl|listen|open(?:dir)?|recv|read(?:dir)?|rewinddir|seek(?:dir)?|send|setsockopt|shutdown|socket|sysopen|sysread|sysseek|syswrite|tell(?:dir)?|write)>\\s*(\\(?)\\s*[A-Z_]+>|<(accept|pipe|socketpair)>\\s*(\\(?)\\s*[A-Z_]+\\s*(,)\\s*[A-Z_]+>|(print|printf|select)>\\s*(\\(?)\\s*[A-Z_]+>(?!\\s*,)":::Storage Type::\n\ handle delims:"\\1\\2\\4\\6\\7\\9":::Keyword:handle:C\n\ handle functions:"\\3\\5\\8":::Subroutine:handle:C\n\ statements:"<(if|until|while|elsif|else|unless|for(each)?|continue|last|goto|next|redo|do(?=\\s*\\{)|BEGIN|END)>":::Keyword::D\n\ packages and modules:"<(bless|caller|import|no|package|prototype|require|return|INIT|CHECK|BEGIN|END|use|new)>":::Keyword::D\n\ pragm modules:"<(attrs|autouse|base|blib|constant|diagnostics|fields|integer|less|lib|locale|ops|overload|re|sigtrap|strict|subs|vars|vmsish)>":::Keyword::D\n\ standard methods:"<(can|isa|VERSION)>":::Keyword::D\n\ file tests:"-[rwxRWXoOezsfdlSpbcugktTBMAC]>":::Subroutine::D\n\ subr header:"":"(?=[{;])"::Keyword::\n\ subr header coloring:"\\1":::Plain:subr header:C\n\ subr prototype:"\\(":"\\)"::Flag:subr header:\n\ subr prototype delims:"&":"&"::Keyword:subr prototype:C\n\ subr prototype chars:"\\\\?[@$%&*]|;":::Identifier1:subr prototype:\n\ references:"\\\\(?:\\$|@|%|&)(?:::)?[\\l_](?:\\w|::(?=\\w))*|\\\\(?:\\$?|@|%|&)\\{(?:::)?[\\l_](\\w|::(?=\\w))*\\}|\\\\(?:\\$|@|%|&)(?=\\{)":::Identifier1::\n\ variables:"\\$([-_./,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1::\n\ named operators:"<(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|sub|x)>":::Keyword::D\n\ library functions:"<((?# arithmetic functions)abs|atan2|cos|exp|int|log|rand|sin|sqrt|srand|time|(?# conversion functions)chr|gmtime|hex|localtime|oct|ord|vec|(?# structure conversion)pack|unpack|(?# string functions)chomp|chop|crypt|eval(?=\\s*[^{])|index|lc|lcfirst|length|quotemeta|rindex|substr|uc|ucfirst|(?# array and hash functions)delete|each|exists|grep|join|keys|map|pop|push|reverse|scalar|shift|sort|splice|split|unshift|values|(?# search and replace functions)pos|study|(?# file operations)chmod|chown|link|lstat|mkdir|readlink|rename|rmdir|stat|symlink|truncate|unlink|utime|(?# input/output)binmode|close|eof|fcntl|fileno|flock|getc|ioctl|open|pipe|print|printf|read|readline|readpipe|seek|select|sprintf|sysopen|sysread|sysseek|syswrite|tell|(?# formats)formline|write|(?# tying variables)tie|tied|untie|(?# directory reading routines)closedir|opendir|readdir|rewinddir|seekdir|telldir|(?# system interaction)alarm|chdir|chroot|die|exec|exit|fork|getlogin|getpgrp|getppid|getpriority|glob|kill|setpgrp|setpriority|sleep|syscall|system|times|umask|wait|waitpid|warn|(?# networking)accept|bind|connect|getpeername|getsockname|getsockopt|listen|recv|send|setsockopt|shutdown|socket|socketpair|(?# system V ipc)msgctl|msgget|msgrcv|msgsnd|semctl|semget|semop|shmctl|shmget|shmread|shmwrite|(?# miscellaneous)defined|do|dump|eval(?=\\s*\\{)|local|my|ref|reset|undef|(?# informations from system databases)endpwent|getpwent|getpwnam|getpwuid|setpwent|endgrent|getgrent|getgrgid|getgrnam|setgrent|endnetent|getnetbyaddr|getnetbyname|getnetent|setnetent|endhostend|gethostbyaddr|gethostbyname|gethostent|sethostent|endservent|getservbyname|getservbyport|getservent|setservent|endprotoent|getprotobyname|getprotobynumber|getprotoent|setprotoent)>":::Subroutine::\n\ subroutine call:"(&|-\\>)\\w(\\w|::)*>|<\\w(\\w|::)*(?=\\s*\\()":::Plain::D\n\ numerics:"<((?i0x[\\da-f]+)|0[0-7]+|[+-]?(\\d+\\.?\\d*|\\.\\d+)([eE][-+]?\\d+)?|[\\d_]+)>":::Numeric Const::D\n\ symbolic operators:">[-<>+.*/\\\\?!~=%^&:]<":::Keyword::D\n\ braces and parens:"[\\[\\]{}\\(\\)\\<\\>]":::Keyword::D\n\ tokens:"__(FILE|PACKAGE|LINE|DIE|WARN)__":::Preprocessor::D\n\ end token:"^__(END|DATA)__":"never_match_this_pattern"::Plain::\n\ end token delim:"&":::Preprocessor:end token:C\n\ pod:"(?=^=)":"^=cut"::Text Comment::\n\ re match:"<((m|qr|~\\s*)/)":"(/(gc?|[imosx])*)"::Plain::\n\ re match delims:"&":"&"::Keyword:re match:C\n\ re match esc chars:"\\\\([/abdeflnrstuwzABDEGLQSUWZ+?.*$^(){}[\\]|\\\\]|0[0-7]{2}|x[0-9a-fA-F]{2})":::Text Escape:re match:\n\ re match class:"\\[\\^?":"\\]"::Plain:re match:\n\ re match class delims:"&":"&"::Regex:re match class:C\n\ re match class esc chars:"\\\\([abdeflnrstuwzABDEGLQSUWZ^\\]\\\\-]|0[0-7]{2}|x[0-9a-fA-F]{2})":::Text Escape:re match class:\n\ re match variables:"\\$([-_.,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:re match:\n\ re match comment:"\\(\\?#[^)]*\\)":::Comment:re match:\n\ re match syms:"[.^$[\\])|)]|\\{\\d+(,\\d*)?\\}\\??|\\((\\?([:=!>imsx]|\\<[=!]))?|[?+*]\\??":::Regex:re match:\n\ re match refs:"\\\\[1-9]\\d?":::Identifier1:re match:\n\ re sub:"<(s/)":"(/)((?:\\\\/|\\\\[1-9]\\d?|[^/])*)(/[egimosx]*)"::Plain::\n\ re sub delims:"\\1":"\\1\\3"::Keyword:re sub:C\n\ re sub subst:"\\2":"\\2"::String:re sub:C\n\ re sub esc chars:"\\\\([/abdeflnrstuwzABDEGLQSUWZ+?.*$^(){}[\\]|\\\\]|0[0-7]{2}|x[0-9a-fA-F]{2})":::Text Escape:re sub:\n\ re sub class:"\\[\\^?":"\\]"::Plain:re sub:\n\ re sub class delims:"&":"&"::Regex:re sub class:C\n\ re sub class esc chars:"\\\\([abdeflnrstuwzABDEGLQSUWZ^\\]\\\\-]|0[0-7]{2}|x[0-9a-fA-F]{2})":::Text Escape:re sub class:\n\ re sub variables:"\\$([-_.,""\\\\*?#;!@$<>(%=~^|&`'+[\\]]|:(?!:)|\\^[ADEFHILMOPSTWX]|ARGV|\\d{1,2})|(@|\\$#)(ARGV|EXPORT|EXPORT_OK|F|INC|ISA|_)>|%(ENV|EXPORT_TAGS|INC|SIG)>|(\\$#?|@|%)(::)?[\\l_](\\w|::(?=\\w))*|(\\$#?|@|%)\\{(::)?[\\l_](\\w|::(?=\\w))*\\}|(\\$|@|%)(?=\\{)":::Identifier1:re sub:\n\ re sub comment:"\\(\\?#[^)]*\\)":::Comment:re sub:\n\ re sub syms:"[.^$[\\])|)]|\\{\\d+(,\\d*)?\\}\\??|\\((\\?([:=!>imsx]|\\<[=!]))?|[?+*]\\??":::Regex:re sub:\n\ re sub refs:"\\\\[1-9]\\d?":::Identifier1:re sub:\n\ info:"(?# version: 2.03; author/maintainer: Joor Loohuis, joor@loohuis-consulting.nl)":::Plain::\n\ } nedit.languageModes: Perl:.pl .pm .p5 .PL:"^[ \\t]*#[ \\t]*!.*perl":Auto:None:::".,/\\\\`'!$@#%^&*()-=+{}[]"":;<>?~|" nedit.styles: Regex:#009944:Bold ! generated with nxlang 1.10