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

[CFDS] shontzu/CFDS-4498/british-pound-sign-is-not-accepted-as-a-special-character #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shontzu-deriv
Copy link
Contributor

No description provided.

@shontzu-deriv shontzu-deriv changed the title chore: exclude british pound sign from special character validation [CFDS] shontzu/CFDS-4498/british-pound-sign-is-not-accepted-as-a-special-character Sep 4, 2024
@coveralls
Copy link
Collaborator

coveralls commented Sep 4, 2024

Pull Request Test Coverage Report for Build 10825202923

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.824%

Totals Coverage Status
Change from base Build 10715131997: 0.0%
Covered Lines: 568
Relevant Lines: 568

💛 - Coveralls

@@ -174,11 +174,11 @@ export const patterns = {
*/
number: /\d/,
/**
* @regex /\W/
* @description This pattern matches any string that contains special characters.
* @regex /[^\w\s£]/
Copy link
Collaborator

@niloofar-deriv niloofar-deriv Sep 6, 2024

Choose a reason for hiding this comment

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

why are we customising this?
Utils is a place for having generic functions I believe it's not a good idea to exclude British from here 🤔
cc: @amam-deriv @yashim-deriv

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.

5 participants