if (encodingMode == EncodingMode.FORM)
{
RouteEscaper escaper = new RouteEscaper('/', '_');
escaper.visit(routingDisjunction);
}
new RERenderer().render(routingDisjunction, routingRegex);
//
parser.reset();
RENode.Disjunction renderingDisjunction = parser.parseDisjunction();
renderingRegex.append("^");
new RERenderer().render(renderingDisjunction, renderingRegex);
renderingRegex.append("$");
}
catch (IOException e)
{
throw new RuntimeException(e);