That wouldn't catch hellXXo...
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hey sorry for misunderstanding it. You will have to use native database
specific regex or pure ruby based expressions and select im a bit bad at
regular expressions but i should look something like this :)
Post.all.select{|x| x.title ~= /[hello]*/ }
On Tue, Nov 18, 2014 at 1:45 PM, Tal Sh
Thanks, I'll try that.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Thanks!
But I might have no been clear, that the string I want to find is
actually hello.
The substrings are strings I want to *ignore* when searching..
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
4 matches
Mail list logo