Ben Kurtovic

Results 91 comments of Ben Kurtovic

> Thoughts? I agree. I think the best way to reason about this is a concept of the complexity of a (sub)expression. Sufficiently complex nodes are broken up with whitespace,...

I thought about this when originally coding list support; I decided against it to make the implementation easier, but you're right that it should be fixed in the long term.

Agree that we should nest nodes; the alternative seems too unexpected in most cases. Since there are plans for multiple parsing "modes" to solve various other issues, it's possible we...

No updates, sorry. You are right that it presents a substantial limitation. I won't have time to work on this project for a while.

Oh, I didn't realize that. Okay... well, that makes possible solutions a bit easier. Line breaks likely should be treated as tokens then.

What about a case where template params are reordered, like `{{foo|3=a|2=b|1=c}}`? Would you expect `template.get(2).value` to yield `a`?

I don't generally like adding options to the initial parse (there is only one right now, and it's there as a bug workaround), so if the existing behavior is insufficient,...

Hold on, did you mean [Wikicode.matches](https://mwparserfromhell.readthedocs.io/en/latest/api/mwparserfromhell.html#mwparserfromhell.wikicode.Wikicode.matches) or am I getting mixed up? That should already ignore comments.

Thanks, I'll update it. (I hoped it was made clear by "Specifically, whitespace and markup is stripped" but I can understand how that is ambiguous.)