Skip to content

Commit

Permalink
feat(perf): remove unneded regexp escape
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLarkInn committed Jul 2, 2017
1 parent 987a9f3 commit c2fa5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RequestShortener.js
Expand Up @@ -7,7 +7,7 @@
const path = require("path");
const NORMALIZE_SLASH_DIRECTION_REGEXP = /\\/g;
const PATH_CHARS_REGEXP = /[-[\]{}()*+?.,\\^$|#\s]/g;
const SEPERATOR_REGEXP = /[\/\\]$/;
const SEPERATOR_REGEXP = /[/\\]$/;
const FRONT_OR_BACK_BANG_REGEXP = /^!|!$/g;
const INDEX_JS_REGEXP = /\/index.js(!|\?|\(query\))/g;

Expand Down

0 comments on commit c2fa5d4

Please sign in to comment.