Jump to content

Module:Unicode data/patterns/documentation

From Wiktionary, the free dictionary
Documentation Documentation for Module:Unicode data/patterns. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

Generates patterns for Lua patterns or regular expressions, to be put inside set notation: [...] or [^...].

{{#invoke:Unicode data/patterns|make_pattern|module=Module:Unicode data submodule|value=value to look for in singles and ranges}}

Pattern for Latin script as defined by Unicode
{{#invoke:Unicode data/patterns|make_pattern|module=scripts|value=Latn}}: ŪⁱKℲⅎºⁿA-Za-zÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿₐ-ₜⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-Ƛ꟱-ꟿꬰ-ꭚꭜ-ꭤꭦ-ꭩff-stA-Za-z𐞀-𐞅𐞇-𐞰𐞲-𐞺𝼀-𝼞𝼥-𝼪
Pattern for "Common" script as defined by Unicode
{{#invoke:Unicode data/patterns|make_pattern|module=scripts|value=Zyyy}}: ゚;᠂؅΅،·󠀁꭛꭫゜゠؛؟฿㋿꤮𝒻ـꧏ𝒞᜵𝒟🉑𝒢࣢𝆄᠃〆𝒥𝒦𝕆🫈🣁🣀🟰🉐🈂𝆃×÷।॥᳓᳡჻꭪ー﴿﴾㇯゛ー・🈁۝ᳺ᠅᜶ʹ゙ -@[-`{-©«-¹»-¿ʹ-˟˥-˩ˬ-˿࿕-࿘᛫-᛭ᳩ-ᳬᳮ-ᳳᳵ-᳷ -​‎-⁤⁦-⁰⁴-⁾₀-₎₠-⃁℀-℥℧-℩ℬ-ℱℳ-⅍⅏-⅟↉-↋←-␩⑀-⑊①-⟿⤀-⭳⭶-⯿⸀-⹝⿰-〄〈-〠〰-〷〼-〿㆐-㆟㇀-㇥㈠-㉟㉿-㋏㍘-㏿䷀-䷿꜀-꜡ꞈ-꞊꠰-꠹︐-︙︰-﹒﹔-﹦﹨-﹫!-@[-`{-・¢-₩│-○-�𐄀-𐄂𐄇-𐄳𐄷-𐄿𐆐-𐆜𐇐-𐇼𐋡-𐋻𛲠-𛲣𜰀-𜳼𜴀-𜺳𜺺-𜻐𜻠-𜻰𜽐-𜿃𝀀-𝃵𝄀-𝄦𝄩-𝅦𝅪-𝅺𝆌-𝆩𝆮-𝇪𝋀-𝋓𝋠-𝋳𝌀-𝍖𝍠-𝍸𝐀-𝑔𝑖-𝒜𝒩-𝒬𝒮-𝒹𝒽-𝓃𝓅-𝔅𝔇-𝔊𝔍-𝔔𝔖-𝔜𝔞-𝔹𝔻-𝔾𝕀-𝕄𝕊-𝕐𝕒-𝚥𝚨-𝟋𝟎-𝟿𞱱-𞲴𞴁-𞴽🀀-🀫🀰-🂓🂠-🂮🂱-🂿🃁-🃏🃑-🃵🄀-🆭🇦-🇿🈐-🈻🉀-🉈🉠-🉥🌀-🛘🛜-🛬🛰-🛼🜀-🟙🟠-🟫🠀-🠋🠐-🡇🡐-🡙🡠-🢇🢐-🢭🢰-🢻🣐-🣘🤀-🩗🩠-🩭🩰-🩼🪀-🪊🪎-🫆🫍-🫜🫟-🫪🫯-🫸🬀-🮒🮔-🯺󠀠-󠁿
Pattern for titlecase letters as defined by Unicode
{{#invoke:Unicode data/patterns|make_pattern|module=category|value=Lt}}: DžLjNjDzῼῌᾼᾈ-ᾏᾘ-ᾟᾨ-ᾯ