question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement regex matching operator

See original GitHub issue

As requested in https://issues.apache.org/jira/browse/IOTDB-1175

I propose a new grammar select ... from ... where A matches REGEX_EXPERSSION, where A must be a TEXT measurement and REGEX_EXPERSSION a string literal.

The grammar is in line with that of the IN operator.

I will work on this feature and appreciate any feedback on the proposed grammar

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
liujiajuncommented, Jun 8, 2021

I am putting design docs here temporarily: https://www.notion.so/IoTDB-Regex-a14cf476cde14c4c82a62f8c822bca98

Feel free to make any suggestions! I can move this to confluence once we have a more mature proposal.

0reactions
HTHoucommented, Aug 31, 2021

Hi, I think this issue already fixed by the following PR. :>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deep dive into Pattern matching with ~= operator
But today we are going to talk about particular Pattern Matching operator which hides all of this magic behind it.
Read more >
Regular expression operators - Workiva Support
In Chain Builder, you can use regular expression (regex) operators to match characters in text strings, such as to define patterns for:
Read more >
Regex - Common Operators
This operator matches the character itself. All ordinary characters (see section Regular Expression Syntax) represent this operator.
Read more >
Regular Expression Matching Can Be Simple And Fast
Many regular expression implementations provide a counted repetition operator {n} to match exactly n strings matching a pattern; { n , m }...
Read more >
matches operator - IBM
Use the matches operator to compare a string to a regular expression. Use of the like operator resembles the use of regular expressions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found