Skip to content

Commit

Permalink
fix: Change REGEX_RE to allow use of / in filters (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
Etiennef authored and Akryum committed Mar 20, 2019
1 parent c890b62 commit 144a4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/devtools/views/events/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SharedData from 'src/shared-data'

const ENABLED_KEY = 'EVENTS_ENABLED'
const enabled = storage.get(ENABLED_KEY)
const REGEX_RE = /^\/(.*?)\/(\w*)/
const REGEX_RE = /^\/((?:(?:.*?)(?:\\\/)?)*?)\/(\w*)/

let uid = 0

Expand Down
2 changes: 1 addition & 1 deletion src/devtools/views/vuex/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as actions from './actions'
import { snapshotsCache } from './cache'
import SharedData from 'src/shared-data'

const REGEX_RE = /^\/(.*?)\/(\w*)/
const REGEX_RE = /^\/((?:(?:.*?)(?:\\\/)?)*?)\/(\w*)/
const ANY_RE = new RegExp('.*', 'i')

let uid = 0
Expand Down

0 comments on commit 144a4e6

Please sign in to comment.