News for hackers. Stuff that matters.
Re:RE#: how we built the fastest regex engine in F# by cognisent on Wednesday March 04, 2026 @12:03PM (#47250475)
One thing I don't understand is what does _* mean? It seems like the paper refers to .* (which I understand) and _* (which I don't) in sometimes the same context? Normally _* would mean "an underscore zero or more times".
Re:RE#: how we built the fastest regex engine in F# by shmolyneaux on Wednesday March 04, 2026 @12:13PM (#47250629)
That's noted further down the page:

- `_*` = any string

Re:RE#: how we built the fastest regex engine in F# by cognisent on Wednesday March 04, 2026 @04:50PM (#47254434)
I guess _ is trying to be like, "No, really, anything," while . has some limitations?
Re:RE#: how we built the fastest regex engine in F# by viega on Thursday March 05, 2026 @06:14AM (#47260298)
.* does NOT match newlines, so always will stop a match at the end of a line.