Barotrauma 潜渊症

Barotrauma 潜渊症

评价数不足
Depth Counter
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
16.778 KB
2023 年 6 月 22 日 上午 2:40
2023 年 6 月 27 日 上午 12:06
3 项改动说明 ( 查看 )

订阅以下载
Depth Counter

在 Cengaver_ 的 1 个合集中
Sub Editor Assemblies
8 件物品
描述
Sends a message to the chat every 200 meters

Regex expressions meaninng:

^(?<depth>\d*[02468]00)$

^ defines the start of the string.
?<depth> is a named capture group.
\d means any digit, * is greedy quantifier(attempts to match \d between 0 and infinite times)(greedy tries to match as much times as possible)
[02468] means that the value has to literally match any of these digits.
00 means that the value has to literally match 00.
$ defines the end of the string.


So the regex captures any positive numerical value ending with: 000, 200, 400, 600, 800