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

RegEx Trial #89

Open
atenreiro opened this issue Aug 26, 2023 · 3 comments
Open

RegEx Trial #89

atenreiro opened this issue Aug 26, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@atenreiro
Copy link
Owner

I am trialing a RegEx feature for the openSquat.

git clone https://github.com/atenreiro/regex_opensquat

1- Make sure to install the requirements.txt
2-Modify keywords.txt
3-In the regex_multi.py, choose which domain file you want to use.

@maaaaz give it a try!

Andre

@atenreiro atenreiro added the enhancement New feature or request label Aug 26, 2023
@atenreiro atenreiro self-assigned this Aug 26, 2023
@maaaaz
Copy link
Contributor

maaaaz commented Sep 17, 2023

Hello @atenreiro,

Thanks, it seems to work well and with good performance !
Just be careful not to use the word "match" as it is now a Python keyword.

I don't think this lib would be useful here, but in case it is: https://github.com/asciimoo/exrex

Cheers!

@atenreiro
Copy link
Owner Author

Hello @atenreiro,

Thanks, it seems to work well and with good performance !

Just be careful not to use the word "match" as it is now a Python keyword.

I don't think this lib would be useful here, but in case it is: https://github.com/asciimoo/exrex

Cheers!

I plan to release this feature in the next release. It will allow greater flexibility with the keywords matching.

I also plan to retire Jaro-Winkler and leave Levenshtein only.

Thanks for pinpointing the new Python reserved word. I was not aware.

@maaaaz
Copy link
Contributor

maaaaz commented Sep 21, 2023

Thanks !

I never tried them yet, but the similarity algorithms of this lib are interesting : https://github.com/typosquatter/ail-typo-squatting

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

No branches or pull requests

2 participants