regex - 使用气体的 Google RE2 正则表达式
问题描述
我需要搜索以 { 开头并以 } 结尾的文本 请注意,仅当此处存在 {=CAT some text} 而不是 {some other text} 时才需要搜索
我使用 Google Apps 脚本查找文本
text.findText("{=CAT.*}")
解决方案
推荐阅读
- python - 我使用 Python 创建了一个 CSV 文件。但是体积很大
- python - 根据开始和结束字符python在列表中附加行
- scala - 任何列中带有 nan 的 spark/scala 删除行
- json-api - crnk json 实现 Java API 文档
- avisynth - AviSynth AvsP 溶解不起作用
- r - 从 R Markdown 文档中删除所有代码块
- c# - WinForms:如何防止面板随窗口内容滚动?
- python - Python:将向量插入矩阵
- docker - Traefik 允许自定义域
- javascript - 如何获取输入值并将其发送到另一个组件