Re: [Pyparsing] setResultsName: request for clarification
Brought to you by:
ptmcg
From: Stefaan H. <ste...@gm...> - 2008-05-01 16:27:22
|
Hello Ralph, > I would guess the intention is you can do > > address = ... > command = address.setResultsName('from') + \ > address.setResultsName('to') > > So your `version 1' is having little effect. Thank you! I hadn't looked at it this way. What to me seemed like totally inconsistent behaviour makes kind of sense now. As I understand it now, giving a resultsname only has an effect when using a parser as opposed to when defining one. Thanks! Stefaan. |