fix: add to parameters regex (#4238)

This commit is contained in:
Muhammed Ajmal M
2024-08-06 15:18:14 +05:30
committed by GitHub
parent 0140208753
commit 5bccab0aa0

View File

@@ -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 = {}