Wikipedia talk:Bots/Requests for approval/DemonDays64 Bot 2

February 19 change to regex

User:TheSandDoctor hi! Due to concerns [https://en.wikipedia.org/w/index.php?title=User_talk:DemonDays64&diff=941703162&oldid=941216470 raised at my talk page] about the bot changing allmusic.com to http://allmusic.com I am changing my regex. It will now be (for example.com):

((?<=(?))(http:\/\/)?(www\.)?example\.com(?!\.)

This will make it not edit links with double square brackets before them. Thanks! DemonDays64 (talk) 04:45, 20 February 2020 (UTC)

:Sounds good. Thanks for the heads up. --TheSandDoctor Talk 17:22, 20 February 2020 (UTC)

::{{re|DemonDays64}} Please see the above. --TheSandDoctor Talk 17:22, 20 February 2020 (UTC)

April 17 change to regex

{{ping|TheSandDoctor}} Hi again! I would like to make another change the the regex, to make the bot edit more links. This makes it so that if there is a list formatted like this (with or without a space between the asterisk and the link):

*{link}

it will have HTTPS edited in. I want to do this because I have found that, for example, every link in mainspace to gizmodo.com is HTTPS now, except for 3 that are in lists like this example. This would open up editing links on about 23,956 pages, according to [https://en.wikipedia.org/w/index.php?cirrusUserTesting=control&search=insource%3A%2F%5C%2Ahttp%3A%5C%2F%5C%2F.%2F&title=Special:Search&profile=default&fulltext=1 this search] (it is slow due to regex search).

This is the regex I would like to change to (addition highlighted):

((?<=(?)|(?<=\* ?))(http:\/\/)?(www\.)?example\.com(?!\.)

Thanks a lot, DemonDays64 (talk) 17:55, 17 April 2020 (UTC)!

:Go ahead {{u|DemonDays64}}. I’ll update the page shortly. TheSandDoctor Talk 17:57, 17 April 2020 (UTC)

::Thanks! DemonDays64 (talk) 17:59, 17 April 2020 (UTC)

:::The new settings [https://en.wikipedia.org/w/index.php?title=User:DemonDays64_Bot/JWB-settings.js&diff=951544697&oldid=951520462 have been changed and uploaded to Wikipedia]! Thank you. DemonDays64 (talk) 18:13, 17 April 2020 (UTC)