1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update packages/node_modules/@node-red/editor-client/src/js/ui/search.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
Stephen McLaughlin 2022-09-03 21:54:21 +01:00 committed by GitHub
parent 9540cfe749
commit 5f159c1fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,6 @@ RED.search = (function() {
function extractType(val, flags) {
// extracts: type:XYZ & type:"X Y Z"
console.log(`extractType(val, flags): val:${val}`)
const regEx = /(?:type):\s*(?:"([^"]+)"|([^" ]+))/;
let m
while ((m = regEx.exec(val)) !== null) {