03-01-2018, 08:02 PM
Hi Gintaras,
this regex (PCRE flavour) finds the substring between two single quotes:
It works well when tested in RegexBuddy 4,
in https://regexr.com and https://www.regexpal.com:
but if fails in QM:
is it my fault?
Again thank you for your exceptional support.
this regex (PCRE flavour) finds the substring between two single quotes:
It works well when tested in RegexBuddy 4,
in https://regexr.com and https://www.regexpal.com:
but if fails in QM:
str userNamePattern username risultato
username="WHERE nomepass = 'testname'"
userNamePattern = "(?<=')(.*?)(?=')"
if(findrx(username userNamePattern 0 0 risultato 2)>=0)
out risultato
else
mes "match for ''(?<=')(.*?)(?=')'' not found" "Error"
is it my fault?
Again thank you for your exceptional support.