FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error with hb_AtX
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
error with hb_AtX
Posted: Sat Nov 28, 2020 07:45 PM

Linea:="<REPORTNUM>001</REPORTNUM>"

cField := hb_AtX( "<[^>]*>", Linea, .F. )

give me cField empty , why ?

I'm using Harbour, perhaps it is a xharbour function ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: error with hb_AtX
Posted: Sun Nov 29, 2020 02:57 PM

HB_AtX(...) works both in Harbour and xHarbour.
But the first parameter should be a valid RegEx expression.

Refer

https://en.wikipedia.org/wiki/Regular_expression

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: error with hb_AtX
Posted: Mon Nov 30, 2020 08:36 AM
nageswaragunupudi wrote:HB_AtX(...) works both in Harbour and xHarbour.
But the first parameter should be a valid RegEx expression.

Refer
https://en.wikipedia.org/wiki/Regular_expression

resolved I forget to link a lib
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion