Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
e96e5a81
Commit
e96e5a81
authored
Feb 16, 2018
by
Sarah Grebing
Browse files
jar update
parent
6273e7d4
Pipeline
#18762
failed with stages
in 2 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
keydeps/lib/components/key.core.jar
View file @
e96e5a81
No preview for this file type
rt-key/src/main/java/edu/kit/iti/formal/psdbg/interpreter/KeYMatcher.java
View file @
e96e5a81
...
...
@@ -115,9 +115,14 @@ public class KeYMatcher implements MatcherApi<KeyData> {
String
branchLabel
=
currentState
.
getData
().
getBranchingLabel
();
String
cleanBranchLabel
=
branchLabel
.
replaceAll
(
" "
,
""
);
Pattern
regexpForLabel
=
Pattern
.
compile
(
cleanLabel
);
Matcher
branchLabelMatcher
=
regexpForLabel
.
matcher
(
cleanBranchLabel
);
String
cleanBranchLabel
=
branchLabel
.
replaceAll
(
" "
,
""
);
//cleanLabel(branchLabel);
Pattern
regexpForLabel
=
Pattern
.
compile
(
"\\\\Q"
+
cleanLabel
+
"\\\\E"
);
Matcher
branchLabelMatcher
=
regexpForLabel
.
matcher
(
Pattern
.
quote
(
cleanBranchLabel
));
//Matcher branchLabelMatcher = regexpForLabel.matcher(cleanBranchLabel);
...
...
@@ -221,6 +226,7 @@ public class KeYMatcher implements MatcherApi<KeyData> {
cleaned
=
cleaned
.
replaceAll
(
"\\["
,
"\\\\["
);
cleaned
=
cleaned
.
replaceAll
(
"\\]"
,
"\\\\]"
);
return
cleaned
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment