Explorar o código

refs #84709: add test and lint
fix lint err (disabled)

NEEDLEMAN3\tatsu %!s(int64=4) %!d(string=hai) anos
pai
achega
94c660e435
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/core/src/models/devided-page-path.js

+ 1 - 0
packages/core/src/models/devided-page-path.js

@@ -34,6 +34,7 @@ export class DevidedPagePath {
 
     let PATTERN_DEFAULT = /^((.*)\/)?(.+)$/; // this will not ignore html end tags https://regex101.com/r/jpZwIe/1
     try { // for non-chrome browsers
+      // eslint-disable-next-line regex/invalid
       PATTERN_DEFAULT = new RegExp('^((.*)(?<!<)\\/)?(.+)$'); // https://regex101.com/r/HJNvMW/1
     }
     catch (err) {