Skip to content
Snippets Groups Projects
Commit ad5ef861 authored by cyan's avatar cyan
Browse files
parent f9e4b94f
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ function IRC_match(mtchstr,mask) {
var final_mask="^";
mask=mask.replace(/[.]/g,"\\\.");
mask=mask.replace(/[?]/g,".");
mask=mask.replace(/[*]/g,".*?");
mask=mask.replace(/[*]/g,"(.*)?");
final_mask=final_mask + mask + "$";
return mtchstr.toUpperCase().match(final_mask.toUpperCase());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment