Is it possible to use a regular expression to find such a construction in the text:
SPACE+"."+any character+"."
Is it possible to use a regular expression to find such a construction in the text:
SPACE+"."+any character+"."
\s+\.\w\.I understood you correctly ?
HB_ATX([s][.][w][.])
LOCAL pCompiled := hb_regexComp( "\s+.\w." )
LOCAL aMatch
LOCAL lRet := .t.
aMatch = hb_regex( pCompiled, alltrim(cText) )
if Empty( aMatch )
lRet := .f.
end
return lRet
it doesn't work
pCompiled := hb_regexComp( "\s\w.\w." ) -->***
hb_regex( pCompiled, alltrim(cText) ) --> empty
maybe it's just for the Latin alphabet ?
cReg:="\s[А-я][.][А-я][.]"
res:=HB_ATX(cReg, cText)
if ! empty(res)
.................
endif