Skip to content

Commit

Permalink
Fix regex (#7352)
Browse files Browse the repository at this point in the history
  • Loading branch information
k3KAW8Pnf7mkmdSMPHz27 authored Jan 15, 2021
1 parent edc6fa3 commit e173764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/preview/PreviewViewer.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class PreviewViewer extends ScrollPane implements InvalidationListener {
private static final String JS_UNMARK_WITH_CALLBACK = "" +
"var markInstance = new Mark(document.getElementById(\"content\"));" +
"markInstance.unmark(%s);";
private static final Pattern UNESCAPED_FORWARD_SLASH = Pattern.compile("\"(?<!\\\\\\\\)/\"");
private static final Pattern UNESCAPED_FORWARD_SLASH = Pattern.compile("(?<!\\\\)/");

private final ClipBoardManager clipBoardManager;
private final DialogService dialogService;
Expand Down

0 comments on commit e173764

Please sign in to comment.