-
-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(formula): regexextract/regexmatch/regexreplace #3282
Conversation
View Deployment
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #3282 +/- ##
==========================================
+ Coverage 31.13% 31.27% +0.13%
==========================================
Files 2254 2258 +4
Lines 116682 117050 +368
Branches 25641 25757 +116
==========================================
+ Hits 36325 36603 +278
- Misses 80357 80447 +90 ☔ View full report in Codecov by Sentry. |
regularExpressionValue = `${regularExpressionValue}`; | ||
|
||
try { | ||
const regex = new RegExp(regularExpressionValue, 'g'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
回溯咋办?
2232a4a
to
817ede1
Compare
REGEXEXTRACT函数 1、单元格内输入=REGEXEXTRACT(B10,"[a-Z]+")/=REGEXEXTRACT("abcd","((((a"),计算结果未报错 2、飞书模板内的两条示例D列公式计算不出结果,C4单元格 计算错误 3、C3单元格为false时,计算结果报错 4、单元格内输入=REGEXEXTRACT("我的生日20220104","生日(2022\d+)")/=REGEXEXTRACT("我的生日20220104","生日(?:2022)(\d+)"),计算结果错误 5、单元格内输入=REGEXEXTRACT("111aaa111","(\d+)([a-z]+)(\d+)") ,计算结果不对 6、 单元格内输入=REGEXEXTRACT("abcd","((((a)b)c)d)"),计算结果为空 7、D1=The total is 8、E1等于Visit our website at https://www.example.com 单元格内输入=REGEXEXTRACT(E1, "https?://[^\s]+") 计算不出结果 |
REGEXEXTRACT function
|
2e5d64e
to
b271d15
Compare
e3142bd
to
29303bd
Compare
limit?: number; | ||
} | ||
|
||
// 定义数字字符集(0-9) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use English comment
1e99882
to
1430f70
Compare
Playwright test resultsDetails 14 tests across 8 suites |
1430f70
to
383b02b
Compare
383b02b
to
afc6358
Compare
25601e3
to
6402b26
Compare
close dream-num/univer-pro#2328
Pull Request Checklist