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.

Support regular expressions in queries

See original GitHub issue

From 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:open
  • Created 8 years ago
  • Reactions:10
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
cmelchiorcommented, Jan 18, 2017

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.

0reactions
s-shalabicommented, Jan 18, 2017

+1

Read more comments on GitHub >

github_iconTop 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 >

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