User:Giorgi Eufshi/wildcard entry.js

Hello, you have come here looking for the meaning of the word User:Giorgi Eufshi/wildcard entry.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Giorgi Eufshi/wildcard entry.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Giorgi Eufshi/wildcard entry.js in singular and plural. Everything you need to know about the word User:Giorgi Eufshi/wildcard entry.js you have here. The definition of the word User:Giorgi Eufshi/wildcard entry.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Giorgi Eufshi/wildcard entry.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
var wildcard_entries = [
	{
		name: "season-episode contraction",
		regex: /S(\d)(\d)E(\d)(\d)/,
		success: function(match_result)
		{
			if(match_result && match_result && match_result && match_result && match_result)
			{
				var sN = parseInt(match_result)*10 + parseInt(match_result);
				var eN = parseInt(match_result)*10 + parseInt(match_result);
				return "<i>Abbreviation of " + createHtmlLink("season") + " " + sN + ", " + createHtmlLink("season") + " " + eN + "</i>";
			}
		}
	}
];

function createHtmlLink(entry)
{
	return "<a href='" + entry + "'>" + entry + "</a>";
}

function getWildcards(title)
{
	var res = "";
	wildcard_entries.forEach(function(item, index){
		res += wildcard_entries.success(title.match(wildcard_entries.regex));
		res + "<br/>";
	});
	return res;
}

$(function(){
	var title = $(".mw-search-createlink .new").text();
	var meanings = getWildcards(title);
	$(".mw-search-createlink").after("<div style = 'border: 1px solid rgb(0, 222, 0);'><p style='color: rgb(0, 222, 0); font-weight: bold;'>There is no entry for it, but you may be looking for: </p>" + meanings + "</div>");
});