//
if(match.isInside()) {
if(match.isContained() && (!wsp || implied)) {
// format if contained and formatting is wanted, or the space is implied
Spacing spacing = styleSet.getStyleValue(SpacingStyle.class, node, defaultSpacing);
LineBreaks lineBreaks = styleSet.getStyleValue(LineBreakStyle.class, node, defaultLineBreaks);
String text = styleSet.getStyleValue(TokenTextStyle.class, node);
applySpacingAndLinebreaks(context, node, text, spacing, lineBreaks, output);
}
else {
output.appendText(match.apply().getFirst());