Paul McGuire

Results 128 comments of Paul McGuire

This looks pretty cool! I think I looked at doing something like this a few years ago but, it got back-burnered in favor of other things. Would the repr also...

With this change, what is the repr for `Word(printables)`? Perhaps in the case of Word, we might use srange and _collapse_string_to_ranges when the initChars or bodyChars are very long strings.

Of the 4 `ParseExpression` classes, `Each` and `Or` have this issue, `And` and `MatchFirst` do not. I'll have to dig deeper this evening.

Basil, Thanks for the time and effort in your thorough testing (where were you when I was doing the 3.0.0 pre releases??!!). I’ve been thinking about some of these, and...

Basil - And here it is November, much further than just "mid next week". Working on a book (with hard deadlines) was more intense than I expected. I have been...

Can be fixed by changing code in __mul__: def makeOptionalList(n): if n > 1: return And([Opt(self)] * n) # return Opt(self + makeOptionalList(n - 1)) else: return Opt(self) Passes all...

Can you provide more info? What is semi_expression and what is filter_str? Otherwise, this is not reproducible.

If I have to reconstruct the Python code that creates that semi_expression, I will not get to look at this any time soon. Can you reproduce the problem with some...

I've cloned that repo and run the unit tests with no failures (after changing `operatorPrecedence` to `infixxNotation`), running with pyparsing 3.0.7. What filter string are you trying to parse?

Thanks for posting, will take me a bit to sift through. The White class has always been an oddity in pyparsing, given that it has to look for spaces that...