Skip to content

Commit

Permalink
upd: Add regex, files on Embedded Diagram
Browse files Browse the repository at this point in the history
upd: for Embedded Diagram, add:
-  `regex`
-  `files`
  • Loading branch information
The-Lum committed Jun 14, 2023
1 parent 74574c4 commit 3574987
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/net/sourceforge/plantuml/EmbeddedDiagram.java
Expand Up @@ -113,6 +113,12 @@ public static String getEmbeddedType(CharSequence cs) {
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;
}

Expand Down Expand Up @@ -229,4 +235,4 @@ public List<Neutron> getNeutrons() {
return Arrays.asList(Neutron.create(this));
}

}
}

0 comments on commit 3574987

Please sign in to comment.