I don't think that this is particularly hard to do: search the CVS history for the addition of the REGEXP operator for a simple example.
Or, I'll find the link for you. :P http://www.sqlite.org/cvstrac/chngview?cn=2478 This does more than just add the regexp operator, but it's still a half-decent starting point. -T > -----Original Message----- > From: RaghavendraK 70574 [mailto:[EMAIL PROTECTED] > Sent: Friday, September 07, 2007 5:17 AM > To: sqlite-users@sqlite.org > Subject: [sqlite] New Operator Support > > > Hi, > > Just to get more hands on Sqlite i want to > write a custom operator. Pls suggest how i can do it. > > For example > select * from tablex where column1 ~ '123'; > > I want implement it similar to '='. Can anyone help me > what all steps,files i need to change? > > regards > ragha > > > ************************************************************** > **************************** > This email and its attachments contain confidential > information from HUAWEI, which is intended only for the > person or entity whose address is listed above. Any use of > the information contained herein in any way (including, but > not limited to, total or partial disclosure, reproduction, or > dissemination) by persons other than the intended > recipient(s) is prohibited. If you receive this e-mail in > error, please notify the sender by phone or email immediately > and delete it! > > ************************************************************** > *************************** > > -------------------------------------------------------------- > --------------- > To unsubscribe, send email to [EMAIL PROTECTED] > -------------------------------------------------------------- > --------------- > > ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------