A system constructs finite-state networks. The system initially compiles an intermediate
finite-state network from a source file of regular expressions. The intermediate
finite-state network includes a delimited subpath that defines a substring having
the form of a regular expression. The system subsequently produces an output finite-state
network in which the delimited subpath is replaced with an FSN compiled from the
substring encoded by the delimited subpath.