Re: regex search ?

[prev] [thread] [next] [Date index for 2004/06/11]

From: Tony Bowden
Subject: Re: regex search ?
Date: 14:58 on 11 Jun 2004
On Fri, Jun 11, 2004 at 03:44:25PM +0300, raptor@xxxxxx.xxx wrote:
> any idea how to implement regex search.

Internally search , and search_like are just implemented as:

sub search      { shift->_do_search("="  => @_) }
sub search_like { shift->_do_search(LIKE => @_) }

So if regex search at the database was, say, RLIKE, you just need to do:

sub search_regex { shift->_do_search(RLIKE => @_) }

Tony

regex search ?
"raptor 12:44 on 11 Jun 2004

Re: regex search ?
"raptor 13:30 on 11 Jun 2004

Re: regex search ?
Tony Bowden 14:58 on 11 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52