Skip to content

Commit

Permalink
Merge pull request #74 from vcinly/feature-params
Browse files Browse the repository at this point in the history
remove / from paramRegex
  • Loading branch information
kitze authored Mar 5, 2019
2 parents e5678f8 + 33fb7fa commit b9ef18a
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 b9ef18a

Please sign in to comment.