JGCSCS 4 Java *.java;*.jav;*.jsp JGsoft support@editpadpro.com http://www.editpadpro.com TRUE // 0 5 // comment /** documentation comment */ public static void Test() { Number = 1234; String = "abcdef"; } 0 FALSE 10 Single-line comment //.*+ FALSE FALSE 5 0 0 TRUE Documentation comment /\*\* FALSE TRUE 6 0 3 FALSE Multi-line comment /\* FALSE TRUE 5 0 4 FALSE Bracket [{}]++ FALSE FALSE 17 0 0 FALSE String Closing quote optional so an unclosed string is still colored as a string "[^"\\\r\n]*+(?:\\(?:.|$)[^"\\\r\n]*+)*+"? FALSE FALSE 9 0 0 TRUE Character Closing quote optional so an unclosed string is still colored as a string '[^'\\\r\n]*+(?:\\(?:.|$)[^'\\\r\n]*+)*+'? FALSE FALSE 9 0 0 FALSE Hexadecimal number \b0x[0-9A-F]++[fl]?+\b TRUE FALSE 10 0 0 FALSE Integer or float \b[0-9]++(\.[0-9]+)?(E[+-]?+[0-9]++)?[fl]?+\b TRUE FALSE 10 0 0 FALSE Reserved words \b(?:abstract|boolean|break|byte|case|catch|char|class|const|continue|default|do(?:uble)?|else|enum|extends|final(?:ly)?|float|for|goto|if|implements|import|instanceof|int(?:erface)?|long|native|new|package|private|protected|public|return|short|static|super|switch|synchronized|this|throws?|transient|try|void|volatile|while|true|false|null)\b FALSE FALSE 7 0 -1 FALSE Operator [-+*/=<>%&^|!~?()[\]]++ FALSE FALSE 13 0 0 FALSE 7 { } TRUE 3 ( ) TRUE 3 [ ] TRUE 3 /** */ FALSE 5 /* */ FALSE 5 ' ' FALSE 2 " " FALSE 2 2 Documentation comment 1 6 TRUE 1 Closing */ \*/ FALSE FALSE 6 0 2 FALSE Comment 1 5 TRUE 1 Closing */ \*/ FALSE FALSE 5 0 2 FALSE