Support regular expressions in queries
See original GitHub issueFrom twitter. Being able to support regular expressions in queries.
realm.where(Foo.class).equalTo("/.*?/").findAll()
Some things to consider:
- Which dialect to support as it would have to be implemented in core
- Performance (which would probably be quite bad for large data sets/complicated expressions).
Issue Analytics
- State:
- Created 8 years ago
- Reactions:10
- Comments:10 (3 by maintainers)
Top Results From Across the Web
MYSQL Regular Expressions (REGEXP) with Syntax ... - Guru99
Regular expressions support a number of metacharacters which allow for more flexibility and control when performing pattern matches. The ...
Read more >How Regex in SQL Works - The Data School
Regex, or Regular Expressions, is a sequence of characters, used to search and locate specific sequences of characters that match a pattern.
Read more >$regex — MongoDB Manual
Provides regular expression capabilities for pattern matching strings in queries. MongoDB uses Perl compatible regular expressions (i.e. "PCRE" ) version 8.42 ...
Read more >SQL RegEx | Regular Expressions in MySQL with Examples
This article on SQL RegEx will talk about the Regular Expressions supported in SQL. It will also demonstrate few RegEx implementations for ...
Read more >Regexp query | Elasticsearch Guide [8.5] | Elastic
A regular expression is a way to match patterns in data using placeholder characters, called operators. For a list of operators supported by...
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 Free
Top 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
LIKE queries will be released as part of 2.3 ( https://github.com/realm/realm-java/pull/3992 ) . It will not be full Regular Expression support, but will cover the basic needs.
+1