File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
src/main/java/net/seesharpsoft/intellij/plugins/csv Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1313 tokenTypeClass="net.seesharpsoft.intellij.plugins.csv.psi.CsvTokenType"
1414
1515 tokens=[
16- TEXT='regexp:[^ ,;|\t\r\n"\\]+'
17- ESCAPED_TEXT='regexp:[,;|\t\r\n]|""|\\"'
16+ TEXT='regexp:[^ ,: ;|\t\r\n"\\]+'
17+ ESCAPED_TEXT='regexp:[,: ;|\t\r\n]|""|\\"'
1818 ESCAPE_CHARACTER='regexp:\\'
19- COMMA='regexp:[,;|\t]'
19+ COMMA='regexp:[,: ;|\t]'
2020 QUOTE='"'
2121 CRLF='regexp:\n'
2222 ]
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ import java.util.regex.Pattern;
3232%eof{ return ;
3333%eof}
3434
35- TEXT = [^ ,;|\t\r\n \"\\ ] +
36- ESCAPED_TEXT = [ ,;|\t\r\n] | \"\" | \\\"
35+ TEXT = [^ ,: ;|\t\r\n \"\\ ] +
36+ ESCAPED_TEXT = [ ,: ;|\t\r\n] | \"\" | \\\"
3737ESCAPE_CHAR = \\
3838QUOTE = \"
39- COMMA = [ ,;|\t]
39+ COMMA = [ ,: ;|\t]
4040EOL =\n
4141WHITE_SPACE = [ \f] +
4242
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ public enum CsvValueSeparator {
66 COMMA ("," , "Comma (,)" ),
77 SEMICOLON (";" , "Semicolon (;)" ),
88 PIPE ("|" , "Pipe (|)" ),
9- TAB ("\t " , "Tab (↹)" );
9+ TAB ("\t " , "Tab (↹)" ),
10+ COLON (":" , "Colon (:)" );
1011
1112 private final String myCharacter ;
1213 private final String myDisplay ;
You can’t perform that action at this time.
0 commit comments