aboutsummaryrefslogtreecommitdiffstats
path: root/integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex
diff options
context:
space:
mode:
Diffstat (limited to 'integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex')
-rw-r--r--integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex4
1 files changed, 1 insertions, 3 deletions
diff --git a/integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex b/integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex
index 2af89b1fe27..e73b3e1b643 100644
--- a/integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex
+++ b/integration/intellij/src/main/jflex/ai/vespa/intellij/schema/lexer/sd.flex
@@ -29,7 +29,6 @@ import static com.intellij.psi.TokenType.WHITE_SPACE; // Pre-defined whitespace
//**--------- REGEXES ---------**//
// If some character sequence is matched to this regex, it will be treated as an IDENTIFIER.
ID=[a-zA-Z_][a-zA-Z0-9_]*
-ID_WITH_DASH = [a-zA-Z_][a-zA-Z0-9_-]*[a-zA-Z0-9_]
// If some character sequence is matched to this regex, it will be treated as a WHITE_SPACE.
WHITE_SPACE=[ \t\n\x0B\f\r]+
@@ -237,8 +236,7 @@ WORD = \w+
// Here we check for character sequences which matches regular expressions defined above.
{ID} { return ID_REG; }
- {ID_WITH_DASH} { return ID_WITH_DASH_REG; }
-
+
{WHITE_SPACE} { return WHITE_SPACE; }
{COMMENT} { return COMMENT; }