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 1/2] 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 +} From c006e3dfad32f250248d63af9778582af4b4895f Mon Sep 17 00:00:00 2001 From: The-Lum <86879521+The-Lum@users.noreply.github.com> Date: Wed, 14 Jun 2023 15:09:00 +0200 Subject: [PATCH 2/2] upd: Add `regex` diagram link upd: Add `regex` diagram link --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index aa110b566..8b6228eb8 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ The following non-UML diagrams are also supported: * [JSON data](http://plantuml.com/json) * [YAML data](http://plantuml.com/yaml) * [Extended Backus-Naur Form (EBNF) diagram](http://plantuml.com/ebnf) + * [Regular Expression (regex) diagram](http://plantuml.com/regex) * [Network diagram (nwdiag)](http://plantuml.com/nwdiag) * [Wireframe graphical interface or UI mockups (salt)](http://plantuml.com/salt) * [Archimate diagram](http://plantuml.com/archimate-diagram)