Skip to content
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

Search validate ints #18584

Draft
wants to merge 2 commits into
base: QA_5_2
Choose a base branch
from
Draft

Conversation

MoonE
Copy link
Contributor

@MoonE MoonE commented Jul 26, 2023

Fixes partially #18542, need more changes in 6.0.0

I converted the tests from https://regexr.com/7h1ci and https://regexr.com/7h1eq to node/js tests.

Not quite sure if I'm doing the exporting/importing of the functions right, I tried to match how it's done in functions.js. It works...

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
- Allow spaces around numbers
- Allow plus/minus for hex numbers
- Allow multiple plus minus signs for single number
- Disallow trailing comma
- Disallow arbitrary text before single numbers

Signed-off-by: Maximilian Krög <maxi_kroeg@web.de>
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.72% ⚠️

Comparison is base (815ec67) 48.03% compared to head (293e64b) 47.31%.

Additional details and impacted files
@@             Coverage Diff              @@
##             QA_5_2   #18584      +/-   ##
============================================
- Coverage     48.03%   47.31%   -0.72%     
  Complexity    17011    17011              
============================================
  Files           607      607              
  Lines         72341    72341              
============================================
- Hits          34747    34227     -520     
- Misses        37594    38114     +520     
Flag Coverage Δ
dbase-extension 48.09% <ø> (-0.02%) ⬇️
recode-extension 48.05% <ø> (-0.01%) ⬇️
unit-7.2-ubuntu-latest 48.11% <ø> (+0.03%) ⬆️
unit-7.3-ubuntu-latest 48.45% <ø> (-0.08%) ⬇️
unit-7.4-ubuntu-latest 48.48% <ø> (-0.03%) ⬇️
unit-8.0-ubuntu-latest 48.53% <ø> (-0.03%) ⬇️
unit-8.1-ubuntu-latest 48.56% <ø> (+0.04%) ⬆️
unit-8.2-ubuntu-latest 48.57% <ø> (-0.69%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks great, @MauricioFauth what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants