Skip to content

Commit

Permalink
remove / from paramRegex
Browse files Browse the repository at this point in the history
  • Loading branch information
vcinly committed Feb 24, 2019
1 parent e1c34e2 commit 33fb7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regex.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* eslint-disable */
export const paramRegex = /\/(:([^\/?]*)\??)/g;
export const paramRegex = /(:([^\/?]*)\??)/g;
export const optionalRegex = /(\/:[^\/]*\?)$/g;

0 comments on commit 33fb7fa

Please sign in to comment.