Hello,
I can not manage this syntax that seems to be simple.

MyParser parse: 'A123A123'  -> '123123'
not: #('123' '123')

(#word asParser , #digit asParser plus flatten ==> [:node | node second])
star parse: 'A123A123'. 
-> #('123' '123')

(#word asParser , #digit asParser plus flatten ==> [:node | node second])
star flatten parse: 'A123A123'. -> 'A123A123'


Thank you.




--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Reply via email to