update
This commit is contained in:
parent
1e4f95ad01
commit
eb6c3a292d
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
const through2 = require('through2')
|
const through2 = require('through2')
|
||||||
const deepmerge = require("deepmerge")
|
const deepmerge = require("deepmerge")
|
||||||
|
const path = require('path')
|
||||||
|
|
||||||
// 捕获翻译函数的表达式
|
// 捕获翻译函数的表达式
|
||||||
const DefaultTranslateMatcher = /\bt\(\s*("|'){1}(?:((?<namespace>\w+):))?(?<text>.*?)(((\1\s*\)){1})|((\1){1}\s*(,(\w|\d|(?:\{.*\})|(?:\[.*\])|([\"\'\(].*[\"\'\)]))*)*\s*\)))/gm
|
const DefaultTranslateMatcher = /\bt\(\s*("|'){1}(?:((?<namespace>\w+):))?(?<text>.*?)(((\1\s*\)){1})|((\1){1}\s*(,(\w|\d|(?:\{.*\})|(?:\[.*\])|([\"\'\(].*[\"\'\)]))*)*\s*\)))/gm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user