[yunqa.de] Re: DiSqliteregexp undeclared identifier

  • From: LucDeSa <lucdesa@xxxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Wed, 08 Oct 2014 13:06:18 +0000

Hello Ralf,

Can you send me the link for the DIregex 8.5.2 update ?
I checked my mail and found no message regarding this update.
For all other products i did receive an update message.

Thanks

Luc


------ Original Message ------
From: "Delphi Inspiration" <delphi@xxxxxxxx>
To: yunqa@xxxxxxxxxxxxx
Sent: 2014-10-08 15:01:41
Subject: [yunqa.de] Re: DiSqliteregexp undeclared identifier

On 08.10.2014 10:34, LucDeSa wrote:

I just installed the latest version of DIsqlite 3.5.6.0 and got the
 following error when recompiling a program which uses the regex
parameter in sql:

[DCC Error] DISQLite3RegExp.pas(450): E2003 Undeclared identifier:
'FormatOptions' on line:

D:\Yunqa\Source\DISQLite3RegExp.pas 450 Aux^.RE.FormatOptions :=
[foSubStrNum];

Any idea what could cause this error ?

Diagnosis:

You are using an old version of DIRegEx. "foSubStrNum" was introduced
along the new TDIRegEx.FormatOptions in DIRegEx 8.5.2 on 5 Aug 2014 and
is used by DISQLite3 since version 5.5.2, 20 Aug 2014.

Solutions:

1. Update your DIRegEx to the latest version.

2. Manually delete the sqlite3_regexp_replace() function and
dependencies from the DISQLite3RegExp.pas source code. This removes the
new REGEXP_REPLACE() SQL function which was added to DISQLite3 just
recently. The change should go unnoticed by your application which
apparently does not yet use this new functionality.

Ralf
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Other related posts: