Skip to content

Commit

Permalink
Merge pull request #6308 from tomachalek/supp2950
Browse files Browse the repository at this point in the history
Fix - must use proper aliases for constants, ...
  • Loading branch information
tomachalek authored Sep 27, 2024
2 parents 95fc181 + 82691f2 commit 9b04770
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build/cql.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ NO_RG_ESCAPED =
// ---------------- Regular expression with balanced parentheses --------

RegExp =
QUOT RegExpRaw ("|" RegExpRaw?)* QUOT / QUOT QUOT
QUOT RegExpRaw (BINOR RegExpRaw?)* QUOT / QUOT QUOT

RegExpRaw =
(RgLook / RgGrouped / RgSimple)+

RgGrouped =
LPAREN _ RegExpRaw ("|" RegExpRaw?)* _ RPAREN
LPAREN _ RegExpRaw (BINOR RegExpRaw?)* _ RPAREN

RgSimple =
(RgRange / RgChar / RgAlt / RgPosixClass)+
Expand All @@ -157,9 +157,9 @@ RgAlt =
LBRACKET RG_CARET? RgAltVal+ RBRACKET

RgAltVal =
AnyLetter "-" AnyLetter /
AnyLetter DASH AnyLetter /
RgChar /
"|" /
BINOR /
QUOT /
LBRACE /
RBRACE /
Expand Down

0 comments on commit 9b04770

Please sign in to comment.