findwidget in read only notes WIP

This commit is contained in:
zadam
2022-05-25 23:38:06 +02:00
parent 37cb5f5e9a
commit f250b72563
13 changed files with 148 additions and 62 deletions

View File

@@ -365,6 +365,10 @@ function sleep(time_ms) {
});
}
function escapeRegExp(str) {
return str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
}
export default {
reloadFrontendApp,
parseDate,
@@ -410,4 +414,5 @@ export default {
filterAttributeName,
isValidAttributeName,
sleep,
escapeRegExp
};