public static Command createLegacyEol(FontStyle style) { return new CommandCreoleStyle( "^((" + style.getActivationPattern() + ")(.+))$", style, style.canHaveExtendedColor()); }
private HtmlColor getExtendedColor(Matcher2 m) { if (tryExtendedColor) { return style.getExtendedColor(m.group(2)); } return null; }
public static CommandCreoleStyle createCreole(FontStyle style) { return new CommandCreoleStyle( "^(" + style.getCreoleSyntax() + "(.+?)" + style.getCreoleSyntax() + ")", style, false); }