4 ms·
Interesting! Not often using either crate, this example looks like something for which I might usually look to nom. Is there a reason I should consider using re
by n8henrie 3y ago
Interesting! Not often using either crate, this example looks like something for which I might usually look to nom. Is there a reason I should consider using regex for this use case instead (if neither is a pre-existing dependency)?
- burntsushi 3y agoI don't use nom. I've tried using parser combinator libraries in the past but generally don't like them. That said, I don't usually use regexes for this either. Instead, I just do things by hand. So I'm probably not the right person to answer your question unfortunately. I just know that more than one person has asked for this style of use case to be supported in the regex crate. :-)