From 357498726736615ba8cd7af9a40ca0bb3e686e8a Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Wed, 14 Jun 2023 15:03:59 +0200 Subject: [PATCH] upd: Add `regex`, `files` on Embedded Diagram upd: for Embedded Diagram, add: - `regex` - `files` --- src/net/sourceforge/plantuml/EmbeddedDiagram.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/net/sourceforge/plantuml/EmbeddedDiagram.java b/src/net/sourceforge/plantuml/EmbeddedDiagram.java index b9bdcd0bc..9543cdd91 100644 --- a/src/net/sourceforge/plantuml/EmbeddedDiagram.java +++ b/src/net/sourceforge/plantuml/EmbeddedDiagram.java @@ -113,6 +113,12 @@ public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom { if (s.equals(EMBEDDED_START + "ebnf")) return "ebnf"; + if (s.equals(EMBEDDED_START + "regex")) + return "regex"; + + if (s.equals(EMBEDDED_START + "files")) + return "files"; + return null; } @@ -229,4 +235,4 @@ public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom { return Arrays.asList(Neutron.create(this)); } -} \ No newline at end of file +}