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