Robin Munn

Results 288 comments of Robin Munn

I don't want to change the defaults of `pfloat` and `pint`: number literals *without* underscores are by far the most common use case for most parsing scenarios, I believe. And...

Well, I've finally been able to try this branch out, and here are my thoughts: First, there are some differences between various syntaxes out there that allow underscores between digits....

There's a second language syntax besides TOML that disallows multiple underscores: [Python](https://www.python.org/dev/peps/pep-0515/) just added underscores in numeric literals in Python 3.6, but the rules are "just one underscore between digits",...

Hadn't seen your SO answer yet; just upvoted it. I have an appointment I have to run to right now, so I don't have time to give your question the...

Having thought about it, the backtracking would probably be rather expensive, and the number of use cases are rather small. (Most languages don't allow you to follow a comma-separated list...

I suspect this is caused, in part, by the way the :construction_worker_woman: emoji is composed of several underlying characters: 1. U+1F477 CONSTRUCTION WORKER 2. U+200D ZERO WIDTH JOINER 3. U+2640...

Similar to (but slightly different from) https://github.com/sveltejs/svelte/pull/6750, which was [deemed a breaking change](https://github.com/sveltejs/svelte/pull/6750#issuecomment-1140286284) as it would change the Typescript signature of stores. Also worth noting https://github.com/sveltejs/svelte/pull/6750#issuecomment-1122294203 from @WHenderson which suggests...

Oh, of course: #6750 was a PR to implement the suggestion in #6737. I knew that looked familiar... :blush:

Looks like this might be an issue with catastrophic backtracking, where the regex engine tries to backtrack every single one of those 100k spaces to see if it might match...

Without an example of cases where the layout breaks, it's hard to know whether this is truly needed. I assume you've already encountered one such case. In that case, would...