Implement regex matching operator
See original GitHub issueAs 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:
- Created 2 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Hi, I think this issue already fixed by the following PR. :>