window系统 文件路径正则修正

This commit is contained in:
Wang Kejun 2023-02-10 16:51:52 +08:00
parent 27a5da81d0
commit dc31375910
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ const oakMessage = 'oak-message';
const oakDebugPanel = 'oak-debugPanel';
const oakRegex = /(\/*[a-zA-Z0-9_-])*\/(lib|src)\/|(\\*[a-zA-Z0-9_-])*\\(lib|src)\\/;
const oakPagesOrComponentsRegex =
/(\/*[a-zA-Z0-9_-])*\/(lib|src)\/(pages|components)\/|(\\*[a-zA-Z0-9_-])*\\(lib|src)\\(pages|components)\\/;
/(\/*[a-zA-Z0-9_-]|\/*[a-zA-Z0-9_-]:)*\/(lib|src)\/(pages|components)\/|(\\*[a-zA-Z0-9_-]|\\*[a-zA-Z0-9_-]:)*\\(lib|src)\\(pages|components)\\/;
const TranslationFunction = 't';
const I18nModuleName = 'i18n';