> > I don't want to do string matching directly, so most of the regex
> > library can't really help me. I want access to the automaton. Does
> > anybody know of a library or framework providing this?
>
> Nope, sorry.
>
> But why exactly doesn't std::regex fit your use case (i.e., what
> /exactly/ is your use case)?
My usecase are regular path queries (RPQ) on directed, labeled graphs.
Basically you want to check if a vertex pair is connected by a path
whose label (concatenation of the edge labels) satisfies a regular
expression. The alphabet for the regular expression is the set of edge
labels.
Yeah, that's a very special usecase. So, i think, i need direct access
to the automaton as i have to take transitions more directly (during
traversing the graph). I don't think one can use std::regex for that.
Is it even possible to define an aplhabet for std::regex?
Regards,
Frank