We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11407b4 commit 916db6fCopy full SHA for 916db6f
java-snapshot-testing-core/src/main/java/au/com/origin/snapshots/Snapshot.java
@@ -29,7 +29,7 @@ public String getIdentifier() {
29
}
30
31
public static Snapshot parse(String rawText) {
32
- String regex = "^(?<name>.*?)(\\[(?<scenario>.*)\\])?=(?<header>\\{.*\\})?(?<snapshot>(.*)$)";
+ String regex = "^(?<name>.*?)(\\[(?<scenario>.*)\\])?=(?<header>\\{.*?\\})?(?<snapshot>(.*)$)";
33
Pattern p = Pattern.compile(regex, Pattern.DOTALL);
34
Matcher m = p.matcher(rawText);
35
boolean found = m.find();
0 commit comments