Skip to content
Snippets Groups Projects
Commit c99c249a authored by Albert Gräf's avatar Albert Gräf
Browse files

Cosmetic change.

parent 4f367208
No related branches found
No related tags found
1 merge request!14Cosmetic regex change.
...@@ -117,7 +117,7 @@ function console_unwrap_tag(console_elem, tag_name) { ...@@ -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 // We need to use a regular expression to search without regard to case
function escapeRegExp(string){ function escapeRegExp(string){
// $& means the whole matched string // $& means the whole matched string
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); return string.replace(/[.*+?^${}()|\[\]\\]/g, "\\$&");
} }
function console_find_text(evt, callback) { function console_find_text(evt, callback) {
var console_text = document.getElementById("p1"), var console_text = document.getElementById("p1"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment