File: javaRegex.properties

package info (click to toggle)
libjsyntaxpane-java 0.9.5~r148-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,396 kB
  • sloc: java: 6,080; xml: 113; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# Java Regex Lexer:
COMMENT=/\\*(?:.|[\\n\\r])*?\\*/|//.*
STRING=\"((?:\\\")|.*)?\"
IDENTIFIER=[a-z][a-zA-Z0-9_]*
TYPE=[A-Z_]\\w*
KEYWORD=abstract|boolean|break|byte|case|catch|char|class|const|continue|\
do|double|enum|else|extends|final|finally|float|for|default|implements|import|\
instanceof|int|interface|long|native|new|goto|if|public|short|super|switch|\
synchronized|package|private|protected|transient|return|void|static|while|this|\
throw|throws|try|volatile|strictfp|true|false|null
TYPE3=@\\w+