[GH-ISSUE #3133] 请求关键字高亮示例 #2081

Closed
opened 2026-02-27 00:05:59 +03:00 by kerem · 2 comments
Owner

Originally created by @hanhaowen-mt on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3133

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

image
如图,正则表达式写法有很多种,不知道electerm支持的是哪种写法?我这样写是希望匹配fail/failed,但是直接electerm就挂了这样写,能否添加正则表达式示例?

Originally created by @hanhaowen-mt on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3133 ### What feature you'd like to see or proposal(期望什么新功能/特性或者建议) ![image](https://github.com/electerm/electerm/assets/144977798/e1e4b6dc-91c8-4661-b41b-58d642bc14b4) 如图,正则表达式写法有很多种,不知道electerm支持的是哪种写法?我这样写是希望匹配fail/failed,但是直接electerm就挂了这样写,能否添加正则表达式示例?
kerem 2026-02-27 00:05:59 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (Nov 28, 2023):

failed|fail

就行了,不用加括号和开始结束符号

<!-- gh-comment-id:1829122446 --> @zxdong262 commented on GitHub (Nov 28, 2023): ```js failed|fail ``` 就行了,不用加括号和开始结束符号
Author
Owner

@zxdong262 commented on GitHub (Nov 28, 2023):

将在下个版本加入示例

<!-- gh-comment-id:1829124238 --> @zxdong262 commented on GitHub (Nov 28, 2023): 将在下个版本加入示例
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2081
No description provided.