proomt

Search

Search posts, papers, and topics

regex

RSS
  1. 1

    Labeled matches: why is this not in every regex engine?

    The author shows how to label tokens (dates, money, emails, etc.) with a single regex pass using extended operators (`&` for intersection, `~` for complement) in the resharp library. A tiny benchmark compares 10 patterns against spaCy’s NER, reporting ~1.9 GB/s (≈4500× faster) on 8 threads. The post lists the concrete patterns and argues that for deterministic, regular‑language entities regex can…

    Lobstersiev.ee7 minHN5lobste.rs27