Skip to content

Commit b6255e5

Browse files
committed
Fix regex pattern in CLI
1 parent c7d7560 commit b6255e5

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cel"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
[project]
33
name = "common-expression-language"
44
description = "Python bindings for the Common Expression Language (CEL)"
5+
readme = "README.md"
56
authors = [
67
{name = "Brian Thorne", email = "[email protected]"}
78
]
-5.47 MB
Binary file not shown.

python/cel/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class CELLexer(RegexLexer):
8888
(r"&&|\|\||!", token.Operator.Logical),
8989
(r"\?|:", token.Operator.Conditional),
9090
# Punctuation
91-
(r"[[\]{}().,]", token.Punctuation),
91+
(r"[\[\]{}().,]", token.Punctuation),
9292
# Identifiers (variables, fields)
9393
(r"\b[a-zA-Z_][a-zA-Z0-9_]*\b", token.Name.Variable),
9494
# Whitespace

0 commit comments

Comments
 (0)