User:JJPMaster/Scripts/checkRedirectAutopatroller.js: Difference between revisions

Content deleted Content added
correct the method (via CAE)
escaping (via CAE)
Line 18:
async function onList(username) {
var list = await getFullList();
return list.match(new RegExp(`{{[Uu]ser2\|${username}}}`));
}