1. In lue of more detailed background, you *assumed* Roggisch is trying
2. The rest of us stupids here (me included of course)
he finds where he needs help.
See the two mistakes? neither do I ... The one and only mistake here is
wouldn't be here but probably asking your teacher at school". That is of
trusting other human beings!!.
The only *sheer unadulterated rubbish* here have been your comments. Please
Mario R. Osorio
"... Begin with the end in mind ..."
IMHO sheer unadulterated rubbish. What you're saying is that when you
want to crack a nut you skip the sledge hammer stage and use a steam
roller. Here string methods are perfectly adequate for the task so use them
Kindest regards.
Mark Lawrence.
Hi,
Post by d*I see nothing wrong with using pyparsing. There are actually many ways
to solve the problem here. If you expect to be using pyparsing more in the
future and expect to have multiple users maintaining the code I'd keep it
simple and just stick to one paradigm and stay in the pyparsing realm.
Post by d*I'm no expert at pyparsing yet, and find myself still continuing to learn
it as I go. I've become a fan of pair programming as well where two of us
are learning pyparsing at the same time.
Post by d*There is nothing wrong with regex. I use it where its needed, but in
general, I have found I don't mix it with the pyparsing code modules.
Post by d*And by doing so I've managed to get several different 'grammars' now
robustly working.
Post by d*I don't see the overkill argument. When one walks into a factory and
looks at the machinery for example. Is overkill that a machine the size of
a truck cuts the same pattern 2000 times a day to an endless supply of
steel? I doubt it. The work probably was done in the past by less refined
machines and more than likely you are looking at the latest and newest
production model for that type of work. I see it as, "Why do extra work,
when you can have code that has been tested and end up doing less work?"
Post by d*Good luck on which ever method(s) you choose to implement. And don't
forget to have some fun while you are doing it :)
Post by d*David
-------Original Message-------
Subject: Re: [Pyparsing] Check for tabs
Sent: Oct 29 '13 03:09
Post by Hanchel ChengRegardless of "all [I] have," I'd like to know if pyparser can check
for a specific number of tabs between alphanumeric strings. If there are
not two tabs between the 2nd and 3rd word, I'd like to error out. Is
pyparsing truly overkill for this task?
Post by d*I think by now you have your answer: yes, you can do it with
pyparsing, but IMHO it's overkill, if that's all you ask it to do. Probably
even using a regex would be more opaque then necessary.
Post by d*I've use pyparsing happily quite a few times to e.g. parse CSS or
small DSLs. But for this kind of thing, I'd use string-methods.
------------------------------------------------------------------------------
Post by d*Android is increasing in popularity, but the open development platform
that
Post by d*developers love is also attractive to malware creators. Download this
white
Post by d*paper to learn more about secure code signing practices that can help
keep
Post by d*Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
Post by d*_______________________________________________
Pyparsing-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyparsing-users
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform
that
Post by d*developers love is also attractive to malware creators. Download this
white
Post by d*paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
Post by d*_______________________________________________
Pyparsing-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyparsing-users
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Pyparsing-users mailing list
https://lists.sourceforge.net/lists/listinfo/pyparsing-users