![]() ![]() Note the round brackets () enclose the whole expression here so any match will be considered to be character group 1, and hence be referred to as $1. If there is any sequence of a-zäöüß in front, consider the word a compound and match it, as a whole.Similar for the Americas: msg.title = (/(*Ameri)/i, '□$1') ![]() Additionally, German allows for compounds like »Westafrika« (for »West Africa«): msg.title = (/(*Afri)/i, '□$1') Also, all adjectives that begin with »african« (EN) / »afriquain« (FR) / »afrikanisch« (DE). We need to prefix Nouns ✺frica« (EN) / ✺frique« (FR) / ✺frika« (DE) with the emoji displaying Africa. We’ll need to match nouns and adjectives in three languages. So, lets create a filter that will match accordingly, and add the □ globe emoji showing Africa as a prefix to whatever is found. This will avoid matching »Labour«, as in »Labour party«.Įxample: You speak English, French, and German and you’re interested in everything related to the continent of Africa.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |