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
1 changed files with 0 additions and 1 deletions

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) {