Skip to content

Commit

Permalink
Delete unnecessary flag in regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Jun 23, 2018
1 parent 16d0a41 commit 5257231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/featurecat/lizzie/rules/SGFParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private static boolean parse(String value) {
StringBuilder tagContentBuilder = new StringBuilder();
// MultiGo 's branch: (Main Branch (Main Branch) (Branch) )
// Other 's branch: (Main Branch (Branch) Main Branch)
if (value.matches("(?m)(?s).*\\)\\s*\\)")) {
if (value.matches("(?s).*\\)\\s*\\)")) {
isMultiGo = true;
}

Expand Down

0 comments on commit 5257231

Please sign in to comment.