getMenuMatchKeys = (flatMenuKeys, paths) =>
  paths.reduce(
    (matchKeys, path) =>
      matchKeys.concat(flatMenuKeys.filter(item => pathToRegexp(item).test(path))),
    []
  )
Find all matched menu keys based on paths
@param  flatMenuKeys: [/abc, /abc/:id, /abc/:id/info]
@param  paths: [/abc, /abc/11, /abc/11/info]