Bite-size project

Olly Betts olly at survex.com
Tue Mar 29 06:20:21 BST 2016


On Tue, Mar 29, 2016 at 10:12:54AM +0530, Richhiey Thomas wrote:
> On Mar 28, 2016 3:01 PM, "Olly Betts" <olly at survex.com> wrote:
> > Isn't that backwards?
>
> That's the way I thought it could be done looking at the way $transform has
> been written. If there is any other way, do guide me through that.

I mean you seem to have true and false reversed:

| 3. Then using pcre library, we check for a regex match using
| pcre_exec( ) and if the value it returns is lesser than or equal to
| zero, return true or else return false.

pcre_exec() returning <= 0 means "didn't match" (or there was an error).

> Can I start with trying to implement this?

Sure - there's really no need to ask permission to work on something.

Cheers,
    Olly



More information about the Xapian-devel mailing list