Skip to content

Commit 3574987

Browse files
authored
upd: Add regex, files on Embedded Diagram
upd: for Embedded Diagram, add: - `regex` - `files`
1 parent 74574c4 commit 3574987

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/net/sourceforge/plantuml/EmbeddedDiagram.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ public static String getEmbeddedType(CharSequence cs) {
113113
if (s.equals(EMBEDDED_START + "ebnf"))
114114
return "ebnf";
115115

116+
if (s.equals(EMBEDDED_START + "regex"))
117+
return "regex";
118+
119+
if (s.equals(EMBEDDED_START + "files"))
120+
return "files";
121+
116122
return null;
117123
}
118124

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

232-
}
238+
}

0 commit comments

Comments
 (0)