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

item is converted to string before matching #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OnlyRefat
Copy link

Hi,
FIrst thanks for the nice npm package. We are using it for all of our applications. but there is one thing that must be fixed. The validation if the item that is to be matched is string or not. cause

item.match(regx) works if only item is string. if it is of different type there will be an error. Please accept this pull request. and I will be highly pleased if you add me one of the contributor of the npm. Here is my npm profile details:

email: [email protected]
userName: onlyrefat

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.

1 participant