Skip to content

Commit

Permalink
updated regex
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Nov 15, 2024
1 parent 4566b04 commit 1728c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/Flow/Flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const Flow = () => {
}
};

const regex = /^\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./]+\s*(,\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./]+\s*)*$/g;
const regex = /^\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./\s]+\s*(,\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./\s]+\s*)*$/g;

const FormSchema = Yup.object().shape({
name: Yup.string().required(t('Name is required.')),
Expand Down

0 comments on commit 1728c3b

Please sign in to comment.