James Hurst

Results 8 comments of James Hurst

I had been running into what seemed like a similar issue, where a longer match would fail and it would backtrack to the wrong token. What was also strange was...

> Maybe it's somehow related to the greedy matching of the regex, but I wouldn't expect that if there is another token definition with higher priority 🤔. I looked into...

> I was able to resolve my issue by adding `|| meta.min_read == 0` to the `if` logic at https://github.com/maciejhirsz/logos/blob/v0.14/logos-codegen/src/generator/mod.rs#L115-L119, as that appears to be what causes the slice to...

I browsed through some more of the GitHub issues and found that the fix mentioned above also fixes https://github.com/maciejhirsz/logos/issues/279.

While attempting to prepare this fix for a PR I had noticed that the change actually breaks the `css::test_letter_spacing` test case. When I had previously run the Logos tests I...

Hi @pinkforest! I'm definitely open to PRs to clean up the code and fix any bugs.

I had taken a look into adding `:is()` support and it seems like both `:is()` and `:has()` are already supported by `selectors`. The [`Parser`](https://github.com/causal-agent/scraper/blob/v0.19.0/src/selector.rs#L86) impl needs to enable support by...

**TLDR**: Try using `JetBrainsMono NF` instead of `JetBrainsMono Nerd Font`. I've also been trying to figure out how to get dimmed text to render at a reduced opacity instead of...