News for hackers. Stuff that matters.
Re:Regex Engine Internals as a Library by BoppreH on Wednesday July 05, 2023 @12:35PM (#36602862)
Parser combinators[1] seem perfectly suited for this.

     # A sequence of 5 or more failed login attempts followed by a successful one.
     obj_regex.search(repeat(is_failed, min=5)+is_success, my_list)
[1]: https://en.wikipedia.org/wiki/Parser_combinator

There are no comments on this comment yet.