From c99c249ad7a1cc3d9c6523e473772c830787430f Mon Sep 17 00:00:00 2001 From: Albert Graef <aggraef@gmail.com> Date: Mon, 31 Oct 2016 07:13:46 +0100 Subject: [PATCH] Cosmetic change. --- pd/nw/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pd/nw/index.js b/pd/nw/index.js index 1cd5e01f1..8417d022c 100644 --- a/pd/nw/index.js +++ b/pd/nw/index.js @@ -117,7 +117,7 @@ function console_unwrap_tag(console_elem, tag_name) { // We need to use a regular expression to search without regard to case function escapeRegExp(string){ // $& means the whole matched string - return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + return string.replace(/[.*+?^${}()|\[\]\\]/g, "\\$&"); } function console_find_text(evt, callback) { var console_text = document.getElementById("p1"), -- GitLab