mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 13:05:09 +00:00
Fix buggy links in sequence groups #970
This commit is contained in:
parent
fb2296510c
commit
a38383b9e3
@ -93,7 +93,7 @@ public class CommandGrouping extends SingleLineCommand2<SequenceDiagram> {
|
|||||||
if (StringUtils.isEmpty(comment)) {
|
if (StringUtils.isEmpty(comment)) {
|
||||||
comment = "group";
|
comment = "group";
|
||||||
} else {
|
} else {
|
||||||
final Pattern p = Pattern.compile("^(.*(?:\\[\\[.*\\]\\]).*?|.*?)\\[(.*)\\]$");
|
final Pattern p = Pattern.compile("^(.*\\[\\[.*\\]\\].*?|.*?)\\[(.*)\\]$");
|
||||||
final Matcher m = p.matcher(comment);
|
final Matcher m = p.matcher(comment);
|
||||||
if (m.find()) {
|
if (m.find()) {
|
||||||
type = m.group(1);
|
type = m.group(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user