fix: add to parameters regex (#4238)
This commit is contained in:
parent
0140208753
commit
5bccab0aa0
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ export class ParameterMenuService extends Service implements ContextMenu {
|
|||
text = url.search.slice(1)
|
||||
}
|
||||
|
||||
const regex = /(\w+)=(\w+)/g
|
||||
const regex = /([^&=]+)=([^&]+)/g
|
||||
const matches = text.matchAll(regex)
|
||||
const params: Param = {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue