On Tue, Mar 10, 2009 at 5:32 PM, Przemyslaw Czerpak <[email protected]> wrote:

> The problem is with 3-rd parameter. It's internally used to enable/disable
> case sensitive comparison. It's common to all hb_regex*() functions.
> And here we have problem. If you make:
>   HB_RegexMatch( xTables, alltrim( TBL->CTBLNAME ), FALSE )
> then it will work like hb_regexHas() but it also disables case sensitive
> comparison so the results can be different then expected.
> Two different things are controlled by the same parameter:
>
>   fCaseSensitive = !ISLOG( 3 ) || hb_parl( 3 );
>   fLike          = hb_parl( 3 );
>
> For sure it has to be fixed.

+1

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to