Merge changes I5801bcc3,Ib2290546

* changes:
  Remove the look behind regex for Safari.
  Change the url to lowercase.
This commit is contained in:
Treehugger Robot
2021-07-27 13:50:26 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -13,12 +13,12 @@ const routes = [
}
},
{
path: '/Demo',
path: '/demo',
name: 'Demo',
component: Demo
},
{
path: '/About',
path: '/about',
name: 'About',
component: About
}

View File

@@ -41,7 +41,7 @@ export class MapParser {
*/
async add(partitionName, totalLength) {
let /** Array<String> */ map = []
const /** RegExp */ regexNumber = /(?<![0-9\-])\d+(?![0-9\-])/g
const /** RegExp */ regexNumber = /\d+/g
const /** Reg */ regexRange = /\d+\-\d+/g
for (let i = 0; i < totalLength; i++) map[i] = 'unknown'
if (this.mapFiles.get(partitionName)) {