On Tue, Mar 10, 2009 at 4:53 PM, Przemyslaw Czerpak <[email protected]> wrote:
> Anyhow RegexMatch is commonly used name so maybe we should leave it and add
> support for the 5-th parameter and by default it should be set to HAS.
> In such version I do not have to use 5-th parameter but I can simply define
> pattern which will have to cover whole value.
> I vote for this. It's 2.
In my code I use it as:
if HB_RegexMatch( "[*?!|\/{}<>;,^()$~.'" + '"]', cParam )
or
bTblFor := { || HB_RegexMatch( xTables, alltrim( TBL->CTBLNAME ), TRUE ) ...
which will be the "correct" syntax to have it working under 1.0.1 and 1.1?
best regards,
Lorenzo
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour