Skip to content

Commit

Permalink
fix: remove unused regex
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Jul 28, 2017
1 parent 290fc93 commit 498efde
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
var hashRE = /\[(\w+)\]/g;
var newLineRE = /\n/g;
var doubleQuoteRE = /"/g;
var HTMLEscapeRE = /&(?:lt|gt|quot|amp);/;
var escapeRE = /(?:(?:&(?:lt|gt|quot|amp);)|"|\\|\n)/g;
var escapeMap = {
"&lt;": "<",
Expand Down
1 change: 0 additions & 1 deletion src/util/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const hashRE = /\[(\w+)\]/g;
const newLineRE = /\n/g;
const doubleQuoteRE = /"/g;
const HTMLEscapeRE = /&(?:lt|gt|quot|amp);/;
const escapeRE = /(?:(?:&(?:lt|gt|quot|amp);)|"|\\|\n)/g;
const escapeMap = {
"&lt;": "<",
Expand Down

0 comments on commit 498efde

Please sign in to comment.