Hi Viktor,
----- Original Message -----
From: Viktor Szakáts
To: Harbour Project Main Developer List.
Sent: Tuesday, March 10, 2009 11:11 AM
Subject: [Harbour] hb_regexMatch() 3rd parameter
I've been citing this a few times already, but got no answer,
yet it looks wrong.
3rd logical parameter is used to decide about hb_regex() mode:
---
/* Returns just .T. if match found or .F. otherwise. */
I don't use this function, but this seems clearly wrong (came
from xhb), so IMO it should be fixed. Documentation says that
3rd parameter controls case sensitivity.
Suggestions for fix:
1.) Move it to xhb.lib with this bug intact.
2.) Fix it by using hb_parl( 5 ) in HB_REGEXMATCH().
This will make it in sync with the documentation, but
can break apps, relying on odd behaviour.
(my vote for 2.)
Opinions?
I use this function and this has been a problem. I vote for #2
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour