Re: incasesensitive match

54 views
Skip to first unread message

Demetrios Papadopoulos

unread,
Jun 7, 2017, 8:15:33 PM6/7/17
to Vicky, lovefield-users
match() accepts a Javascript regular expression. You can tweak the regex you are passing to match() to be case insensitive. See RegExp docs.


On Wed, Jun 7, 2017 at 2:44 AM, Vicky <vignes...@gmail.com> wrote:
How to do an incasesensitive match and fetch strings from db ?

"match" method will now return only case sensitive results. Is there any other option ?

--
You received this message because you are subscribed to the Google Groups "lovefield-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lovefield-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lovefield-users/4f9b3c7e-8d9e-473f-88ef-500da2ba585c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

pedro....@gmail.com

unread,
Apr 9, 2019, 12:25:52 PM4/9/19
to lovefield-users
It's really easy, you can just do this:

.match(new RegExp(yourVariabel, 'i'))

quinta-feira, 8 de Junho de 2017 às 01:15:33 UTC+1, Demetrios Papadopoulos escreveu:
match() accepts a Javascript regular expression. You can tweak the regex you are passing to match() to be case insensitive. See RegExp docs.

On Wed, Jun 7, 2017 at 2:44 AM, Vicky <vignes...@gmail.com> wrote:
How to do an incasesensitive match and fetch strings from db ?

"match" method will now return only case sensitive results. Is there any other option ?

--
You received this message because you are subscribed to the Google Groups "lovefield-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lovefie...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages