Hi, Giuseppe. You correctly concluded that to ["+" | none] is not allowed in the Parse dialect at present. If it were allowed, it would still not be what you want, I guess. Don't you want something like to "+" | to end ?
... or maybe to "+" | skip to end to eliminate the "already at end" case
... if you want to eliminate it
BTW, your some cs code is not understandable, unless you show how it is defined
cs: charset ["." #"0" - #"9"]
I forgot to write it !
My goal is to extract the each % , buil a block with them and then calculate the overall value when applied to a number Example: 5.1%+2%+2% of 150 I need to calculate 5.1%*150=V1 2%*150=V2 2%*150=V3
The concatenated percentag are taken from a DB and they are without the percentage sign and as STRING VALUE.
I guess you already solve it, but a first step is :
parse data [(out: copy ) some [copy percentuale some cs (append out load percentuale) copy op ["+" | "-"] (append out load op) | none ski p] to end (probe out)]