fix: add semicolon to pattern for parsing directive arguments.

This commit is contained in:
Artem Kobzar
2022-04-07 22:52:28 +02:00
committed by teamcity
parent 4e8082ad3a
commit e68ee4053e
@@ -687,7 +687,7 @@ public class DirectiveTestUtils {
private final List<String> positionalArguments = new ArrayList<>();
private final Map<String, String> namedArguments = new HashMap<>();
private final String entry;
private final Pattern argumentsPattern = Pattern.compile("\\w+(=((\".*?\")|([\\w$_])+))?");
private final Pattern argumentsPattern = Pattern.compile("\\w+(=((\".*?\")|([\\w$_;])+))?");
ArgumentsHelper(@NotNull String directiveEntry) {
entry = directiveEntry;