Hi, Sorry, It's probably my fault as I was using an 'else' statement for the count before, rather explicit r.execute values of 2/3.
Regards, Lee > On 12 Feb 2021, at 12:27, Lee Badham <le...@bodoni.co.uk> wrote: > > Hi, > > I've noticed that the value returned from RegexMBS.execute seems to be a > different number (1 larger) than we used to get > > pattern is "^bdstart\t(.+)\t(.+)\tbdend$" which is (and has always) matched a > full line of bdstart{TAB}COMMAND{TAB}VALUE{TAB}bdend{EOL} > > I'm sure previously we got a r.execute value of 2, showing we got a full > command and value and can use r.SubString(1) and r.substring(2) to get those > values. > > Now we are getting a r.execute value of 3, but still getting r.SubString(1) > and r.substring(2) filled in. I'm not sure what's changed > > Regards, > > Lee > > > > > > _______________________________________________ > mbsplugins@monkeybreadsoftware.info mailing list > %(list_address)s > https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info