You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @pemistahl and many thanks for this great piece of software.
I'd like to report a little issue which I'm sure can easily be fixed.
$ grex --version
grex 1.4.5
$ cat bots.txt
baiduspider
bingbot
duckduckgo
googlebot
yandexbot
$ grex --no-anchors -c -i -f bots.txt
(?i)(?:baiduspider|duckduckgo|(?:google|bing)bot|yandexbot)
This is what i was expecting to get:
$ grex --no-anchors -c -i -f bots.txt
(?i)(?:baiduspider|duckduckgo|(?:google|bing|yandex)bot)
yandexbot shares the same suffix bot with googlebot and bingbot.
Interestingly, when testing with a reduced list of bots all sharing the same suffix, the suffix bot is found but still a non optimal regex is returned:
Hi @pemistahl and many thanks for this great piece of software.
I'd like to report a little issue which I'm sure can easily be fixed.
This is what i was expecting to get:
yandexbot
shares the same suffixbot
withgooglebot
andbingbot
.Interestingly, when testing with a reduced list of bots all sharing the same suffix, the suffix
bot
is found but still a non optimal regex is returned:This is what i was expecting to get:
Many thanks
The text was updated successfully, but these errors were encountered: