Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 正则匹配问题

0 votes
3.1k views
1 answer
    我想从 {t('word')} {t("word1")} {t(`word2`)} {t(word3)} 捕获出这个数组 ['word', 'word1', 'word2', 'word3'] 我的正则表达式是这个 /(?<=t(([`|'|"]? ... g. 但是,我捕获的数组里都像这样"'word'"带有引号 所以我应该怎么改进能达到对应的效果呢?...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...