• TDFA regular expression matching

    From John R Levine@21:1/5 to All on Thu Feb 22 14:28:40 2024
    This 2022 paper describes tagged DFA matching of regular expressions that
    have tags to track which input matched where in the regex. Tagging is
    easy when matching with an NFA but harder with a DFA since the tag
    locations in the NFA may end up combined or split in the DFA.

    It seems pretty clever. And it does work, implemented in re2c.

    https://arxiv.org/abs/2206.01398

    Regards,
    John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
    Please consider the environment before reading this e-mail. https://jl.ly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)