Skip to content

Commit

Permalink
Merge pull request #1347 from AyushAgrawal-A2/ayush/1328
Browse files Browse the repository at this point in the history
fix: inequality comparison issue using <>
  • Loading branch information
davidkircos committed May 23, 2024
2 parents b77959e + 05674cc commit 47ce571
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quadratic-core/src/formulas/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const UNTERMINATED_STRING_LITERAL_PATTERN: &str = r#"["']"#;

/// List of token patterns, arranged roughly from least to most general.
const TOKEN_PATTERNS: &[&str] = &[
// Comparison operators `==`, `!=`, `<=`, and `>=`.
r#"[=!<>]="#,
// Comparison operators `==`, `!=`, `<=`, `>=` and `<>`.
r#"[=!<>]=|<>"#,
// Double and triple dot.
r"\.\.\.?",
// Line comment.
Expand Down

0 comments on commit 47ce571

Please sign in to comment.