File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77lexer grammar OpenSearchPPLLexer;
88
99channels { WHITESPACE, ERRORCHANNEL }
10-
10+ options { caseInsensitive = true ; }
1111
1212// COMMAND KEYWORDS
1313SEARCH : ' SEARCH' ;
@@ -416,7 +416,7 @@ INTEGER_LITERAL: DEC_DIGIT+;
416416DECIMAL_LITERAL : (DEC_DIGIT +)? ' .' DEC_DIGIT +;
417417
418418fragment DATE_SUFFIX : ([\-.][*0-9]+)+;
419- fragment CLUSTER_PREFIX_LITERAL : [*a-zA- Z ]+?[*a-zA -Z_ \-0-9]* COLON ;
419+ fragment CLUSTER_PREFIX_LITERAL : [*A - Z ]+?[*A -Z_ \-0-9]* COLON ;
420420ID_DATE_SUFFIX : CLUSTER_PREFIX_LITERAL ? ID_LITERAL DATE_SUFFIX ;
421421DQUOTA_STRING : ' "' ( ' \\ ' . | ' ""' | ~(' "' | ' \\ ' ) )* ' "' ;
422422SQUOTA_STRING : ' \' ' (' \\ ' . | ' \'\' ' | ~(' \' ' | ' \\ ' ))* ' \' ' ;
@@ -425,7 +425,7 @@ fragment DEC_DIGIT: [0-9];
425425
426426// Identifiers cannot start with a single '_' since this an OpenSearch reserved
427427// metadata field. Two underscores (or more) is acceptable, such as '__field'.
428- fragment ID_LITERAL : ([@*a-zA- Z_ ])+?[*a-zA -Z_ \-0-9]*;
428+ fragment ID_LITERAL : ([@*A - Z_ ])+?[*A -Z_ \-0-9]*;
429429
430430
431431ERROR_RECOGNITION : . -> channel(ERRORCHANNEL );
You can’t perform that action at this time.
0 commit comments