2439905184 / 2439905184/bkscr-parser

多行宏的正则 记录基本单元

未關閉
#8 15 則留言 0 個 reaction 已指派 1 人 已被 @2439905184 認領 在 GitHub 檢視
good first issue
主要語言
Python
星號
2
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

匹配长度为4的int数组
意思是匹配=号右边的这些字符:" [数字,数字,数字,数字] " 且中间没有空格
```
(?<=\=)\[\d+,\d+,\d+,\d+]
```
测试用例
![image](https://user-images.githubusercontent.com/29478722/193434741-4d642fe4-1be4-4239-9eee-78bd56303af0.png)

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

The issue involves fixing a regex pattern to match a 4-element int array without spaces after the equals sign. Look at the tokenizer/parser code for macro handling, test with the provided example, and ensure the pattern captures '[1,2,3,4]' correctly. Check existing tests for regex patterns to understand the codebase.

由索引模型根據 Issue 內容生成。

評估

領域
compilers
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。