Chris Cleveland

Results 94 comments of Chris Cleveland

Ayup. That did it. If I get ambitious here, I'll fix the docs, and maybe default the pg version param, and maybe add some way of passing through switches to...

Sure. Imagine a search engine query language that supports AND, OR, and NOT. Some example searches: ``` teddy AND bears teddy AND NOT bears NOT teddy AND bears ANDROID WHATNOT...

After looking at this a bit more, I'm guessing I'm running into the "no backtracking" limitation. Any workaround suggestions are welcome.

@jeertmans ``` { 1: :: (), 2: [80-BF] ⇒ 1, 3: [A0-BF][80-BF] ⇒ 1, 4: [80-BF][80-BF] ⇒ 1, 5: [80-9F][80-BF] ⇒ 1, 6: [90-BF][80-BF][80-BF] ⇒ 1, 7: [80-BF][80-BF][80-BF] ⇒ 1,...

Yes, using 0.14.1. I had to set the priorities > 3 because of the skip expression, #[logos(skip r".|[\r\n]")] The "." can match anything, so there was a conflict. Other than...

It's good to see a bit of activity on the no-backtracking issue. I'm not fully convinced that that's what the problem is here, though. Can I bump this issue? It...

https://www.google.com/search?client=firefox-b-1-d&q=bump+a+post+definition To "bump" a post means to bump it up on the priority list, that is, to bring it to your attention again. On Mon, Jan 27, 2025 at 11:45 ...

Here is a simpler version of the problem: ``` #[derive(Logos, Debug, PartialEq)] #[logos(skip r" ")] pub enum LogosTester { #[regex(r"[a-z]+")] Word, #[regex(r"[0-9]+")] Number, // identifier followed by X #[regex(r"[a-z]([a-z0-9])*X")] Fieldname,...

> I got this, but there is no such thing on GitHub, as we don't have tasks or projects. I will pin the issue, so it gives more visibility, but...