1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-05 21:17:52 +00:00

Merge pull request #1303 from rohitsud/patch-1

Allow underscore to be used as an escape character for pattern -->
This commit is contained in:
PlantUML 2023-02-28 22:10:30 +01:00 committed by GitHub
commit eddf1c5470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ public class BodierMap implements Bodier {
}
public static String getLinkedEntry(String s) {
final Pattern p = Pattern.compile("(\\*-+\\>)");
final Pattern p = Pattern.compile("(\\*-+_*\\>)");
final Matcher m = p.matcher(s);
if (m.find()) {
return m.group(1);