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

Added / fixed tests and regex #175

Merged
merged 10 commits into from
Oct 6, 2021
Merged

Added / fixed tests and regex #175

merged 10 commits into from
Oct 6, 2021

Conversation

0xmostafam
Copy link
Contributor

Hello Again 👋

  • Added tests and regex for Visual Studio Token and NPM Token
  • Correct me if i am wrong but Bitly regex was incorrect because according to this video, https://www.youtube.com/watch?v=2rL4K4YOop8 and i even registered for a account to try it, the secret key was combosed of 40 hex characters
  • I couldn't use _assert_match_first_item because Visual Studio Token and Bitly now has the same regex, and i noticed that there was an unused function called _assert_match_in_items so i rewrote it and used it for both of them

and if you want to me to refactor the tests so that all of them uses either _assert_match_in_items and _assert_match_first_item only i can do it

Copy link
Owner

@bee-san bee-san left a comment

Choose a reason for hiding this comment

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

Some great work here 👏👏👏👏 Thank you!!! 💖💖💖

pywhat/Data/regex.json Outdated Show resolved Hide resolved
@bee-san bee-san merged commit 9394f5b into bee-san:main Oct 6, 2021
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.

2 participants