Root Zone LGR for script: Sinhala (Sinh) rz-lgr-5-sinhala-script-26may22-en

This document is mechanically formatted from the above XML file for the LGR. It provides additional summary data and explanatory text. The XML file remains the sole normative specification of the LGR.

Date 2022-05-26
LGR Version 5 (Root Zone LGR for the Sinhala Script)
Language und-Sinh (Sinhala Script)
Scope domain: "." (Root)
Unicode Version 11.0.0

Table of Contents


Root Zone Label Generation Rules for the Sinhala Script


This file contains Label Generation Rules (LGR) for the Sinhala script for the Root Zone. For more details on this LGR and additional background on the script, see “Proposal for a Sinhala Script Root Zone Label Generation Rules-Set (LGR)” [Proposal-Sinhala]. This file is one of a set of LGR files that together form an integrated LGR for the DNS Root Zone [RZ-LGR-5]. The format of this file follows [RFC 7940].


According to Section 5, “Repertoire” in [Proposal-Sinhala], the Sinhala LGR contains 72 single code points. The addition of 4 sequences used in the definition of variants brings the total repertoire entries to 76. The repertoire covers the Sinhala language as written with the Sinhala script.

The repertoire is based on [MSR-5], which is a subset of [Unicode 11.0].

As part of the Root Zone, this LGR includes neither decimal digits nor the HYPHEN-MINUS or ZWJ.

Each code point is tagged with the script or scripts with which the code point is used, one or more other character categories, and one or more references documenting sufficient justification for inclusion in the repertoire; see “References” below.


According to Section 6, “Variants”, in [Proposal-Sinhala], this LGR defines variants within Sinhala which can cause confusion for even a careful observer. There are no cross-script variants, though some confusing cases are identified in [Proposal-Sinhala].

Variant Disposition: All variants are of type “blocked”, making labels that differ only by these variants mutually exclusive: whichever label containing either of these variants is chosen earlier would be delegated any other equivalent label should be blocked. There is no preference among these variants.

This LGR does not define allocatable variants.

Context Rules for Variants: for some of the variants defined in this LGR the sequences or code points making up source and target are constrained by explicit context rules on the code points (or by implicit context rules defined for the adjacent code points). In such a case, any variants may require context rules that match the intersection between the effective contexts for both source and target; otherwise, a sequence might be considered valid in some variant label when it would not be valid in an equivalent context in an original label. Symmetry requires the same context rule for both forward and reverse mappings.

The specification of variants in the Root Zone LGR follows the guidelines in [RFC 8228].

Character Classes

As most Brahmi-derived scripts, Sinhala is an alphasyllabary writing system and written from left to right. All the categories of Consonants, Vowels, Matras, Halant, Anusvara, Visarga and Sannjakas are discussed below.

Consonants: There are 40 consonants in Sinhala alphabet and 38 of them are selected for inclusion. Its consonants imply inherent vowel a(අ) when they are used without dependent vowels. Absence of the inherent vowel is marked by adding hal kirima (remover of the inherent vowel) to the consonant; thus ක /ka/ but ක් /k/, and ව /va/ but ව් /v/. More details in Section 3.3.1, “The Consonants” in [Proposal-Sinhala].

Vowels and Matras: There are separate symbols (dependent vowels) for all the vowels except the inherent vowel අ in Sinhala. Independent vowels are used at the beginning of a word and dependent vowels (matras) are used after consonants. More details in Section 3.3.2, “The Vowels” in [Proposal-Sinhala].

Halanta: The Halanta, which is also called halkirima or hallakuna, is encoded as U+0DCA ( ් ) SINHALA SIGN AL-LAKUNA. This sign is used to remove the inherent vowel of the consonants in Sinhala, and to join consonants and form conjunct characters. More details in Section 3.3.3, “Halanta: The Inherent Vowel Remover” in [Proposal-Sinhala].

Anusvara: U+0D82 ( ං ) SINHALA SIGN ANUSVARAYA, pronounced /ŋ/, represents all the nasals. It can be preceded by any sign except halanta (U+0DCA). More details in Section 3.3.4, “The Anusvara” in [Proposal-Sinhala].

Visarga: U+0D83 ( ඃ ) SINHALA SIGN VISARGAYA is a rarely used sign and pronounced as /h/. It can be preceded by any sign except halanta (U+0DCA). More details in Section 3.3.5, “The Visarga” in [Proposal-Sinhala].

Sannjakas: There are five separate letters for prenasalized voiced stops called sannjakas in Sinhala. From among these, ඦ is not frequently used. Sannjakas cannot be followed by halanta. More details in Section 3.3.6, “Sannjakas” in [Proposal-Sinhala].

Whole Label Evaluation (WLE) and Context Rules

Default Whole Label Evaluation Rules and Actions

The LGR includes the set of required default WLE rules and actions applicable to the Root Zone and defined in [MSR-5]. They are marked with ⍟. The default prohibition on leading combining marks is equivalent to ensuring that a label only starts with a consonant or vowel.

Sinhala-specific Rules

These rules have been formulated so that they can be adopted for LGR specification.

The following symbols are used in the WLE rules:
C → Consonant
M → Matra / Vowel Signs
V → Vowel
B → Anusvara (Bindu)
X → Visarga
H → Halanta / Virama
J → Sannjaka

The rules are:

The following context rules apply to code points in variant sets to ensure the variant transitivity.

More details in Section 7, “Whole Label Evaluation Rules (WLE)” in [Proposal-Sinhala]

Methodology and Contributors

The Root Zone LGR for the Sinhala script was developed by the Sinhala Generation Panel in consultation with the Neo-Brahmi Generation Panel. For methodology and contributors, see Sections 4 and 8 in [Proposal-Sinhala], as well as [RZ-LGR-5-Overview].


The following general references are cited in this document:

Integration Panel, “Maximal Starting Repertoire — MSR-5 Overview and Rationale”, 24 June 2021,
Sinhala Generation Panel, “Proposal for a Sinhala Script Root Zone Label Generation Ruleset (LGR)”, 22 April 2019,
[RFC 7940]
Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016,
[RFC 8228]
A. Freytag, “Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels”, RFC 8228, August 2017,
Integration Panel, “Root Zone Label Generation Rules (RZ LGR-5): Overview and Summary”, 26 May 2022,
Integration Panel, “Root Zone Label Generation Rules (RZ-LGR-5)”, 26 May 2022 (XML),
non-normative HTML presentation:
[Unicode 11.0]
The Unicode Consortium. The Unicode Standard, Version 11.0.0, (Mountain View, CA: The Unicode Consortium, 2018. ISBN 978-1-936213-19-1)

For references consulted particularly in designing the repertoire for the Sinhala script for the Root Zone please see details in the Table of References below. Reference [3] refers to the Unicode Standard version in which the corresponding code points were initially encoded. References [102] and above correspond to sources given in [Proposal-Sinhala] justifying the inclusion of the corresponding code points. Entries in the table may have multiple source reference values.


Repertoire Summary

Number of elements in repertoire 76
Number of code points 72
Number of sequences 4
Longest code point sequence 2

Repertoire by Code Point

The following table lists the repertoire by code point (or code point sequence). The data in the Script and Name column are extracted from the Unicode character database. Where a comment in the original LGR is equal to the character name, it has been suppressed.

For any code point or sequence for which a variant is defined, additional information is provided in the Variants column. See also the legend provided below the table.

Glyph Script Name Ref Tags Required Context Variants Comment
U+0D82  ං Sinhala SINHALA SIGN ANUSVARAYA [3], [102], [201] Anusvara follows-V-C-J-or-M    
U+0D83  ඃ Sinhala SINHALA SIGN VISARGAYA [3], [102], [201] Visarga follows-V-C-or-M    
U+0D85 Sinhala SINHALA LETTER AYANNA [3], [102], [201] Vowel      
U+0D86 Sinhala SINHALA LETTER AAYANNA [3], [102], [201] Vowel      
U+0D87 Sinhala SINHALA LETTER AEYANNA [3], [102], [201] Vowel      
U+0D88 Sinhala SINHALA LETTER AEEYANNA [3], [102], [201] Vowel      
U+0D89 Sinhala SINHALA LETTER IYANNA [3], [102], [201] Vowel      
U+0D8A Sinhala SINHALA LETTER IIYANNA [3], [102], [201] Vowel      
U+0D8B Sinhala SINHALA LETTER UYANNA [3], [102], [201] Vowel      
U+0D8C Sinhala SINHALA LETTER UUYANNA [3], [102], [201] Vowel      
U+0D8D Sinhala SINHALA LETTER IRUYANNA [3], [102], [201] Vowel   set 1  
U+0D91 Sinhala SINHALA LETTER EYANNA [3], [102], [201] Vowel   set 2  
U+0D92 Sinhala SINHALA LETTER EEYANNA [3], [102], [201] Vowel   set 3  
U+0D93 Sinhala SINHALA LETTER AIYANNA [3], [102], [201] Vowel   set 4  
U+0D94 Sinhala SINHALA LETTER OYANNA [3], [102], [201] Vowel   set 5  
U+0D95 Sinhala SINHALA LETTER OOYANNA [3], [102], [201] Vowel      
U+0D96 Sinhala SINHALA LETTER AUYANNA [3], [102], [201] Vowel      
U+0D9A Sinhala SINHALA LETTER ALPAPRAANA KAYANNA [3], [102], [201] Consonant      
U+0D9B Sinhala SINHALA LETTER MAHAAPRAANA KAYANNA [3], [102], [201] Consonant   set 6  
U+0D9C Sinhala SINHALA LETTER ALPAPRAANA GAYANNA [3], [102], [201] Consonant      
U+0D9D Sinhala SINHALA LETTER MAHAAPRAANA GAYANNA [3], [102], [201] Consonant   set 7  
U+0D9D U+0DD8 ඝෘ {Sinhala} SINHALA LETTER MAHAAPRAANA GAYANNA + SINHALA VOWEL SIGN GAETTA-PILLA [3], [102], [201] [Consonant] + [Matra]   set 1 variant of IRUYANNA
U+0D9F Sinhala SINHALA LETTER SANYAKA GAYANNA [3], [102], [201] Sannjaka      
U+0DA0 Sinhala SINHALA LETTER ALPAPRAANA CAYANNA [3], [102], [201] Consonant   set 8  
U+0DA1 Sinhala SINHALA LETTER MAHAAPRAANA CAYANNA [3], [102], [201] Consonant      
U+0DA2 Sinhala SINHALA LETTER ALPAPRAANA JAYANNA [3], [102], [201] Consonant      
U+0DA3 Sinhala SINHALA LETTER MAHAAPRAANA JAYANNA [3], [102], [201] Consonant      
U+0DA4 Sinhala SINHALA LETTER TAALUJA NAASIKYAYA [3], [102], [201] Consonant      
U+0DA5 Sinhala SINHALA LETTER TAALUJA SANYOOGA NAAKSIKYAYA [3], [102], [201] Consonant      
U+0DA7 Sinhala SINHALA LETTER ALPAPRAANA TTAYANNA [3], [102], [201] Consonant      
U+0DA8 Sinhala SINHALA LETTER MAHAAPRAANA TTAYANNA [3], [102], [201] Consonant      
U+0DA9 Sinhala SINHALA LETTER ALPAPRAANA DDAYANNA [3], [102], [201] Consonant      
U+0DAA Sinhala SINHALA LETTER MAHAAPRAANA DDAYANNA [3], [102], [201] Consonant      
U+0DAB Sinhala SINHALA LETTER MUURDHAJA NAYANNA [3], [102], [201] Consonant      
U+0DAC Sinhala SINHALA LETTER SANYAKA DDAYANNA [3], [102], [201] Sannjaka      
U+0DAD Sinhala SINHALA LETTER ALPAPRAANA TAYANNA [3], [102], [201] Consonant      
U+0DAE Sinhala SINHALA LETTER MAHAAPRAANA TAYANNA [3], [102], [201] Consonant      
U+0DAF Sinhala SINHALA LETTER ALPAPRAANA DAYANNA [3], [102], [201] Consonant      
U+0DB0 Sinhala SINHALA LETTER MAHAAPRAANA DAYANNA [3], [102], [201] Consonant      
U+0DB1 Sinhala SINHALA LETTER DANTAJA NAYANNA [3], [102], [201] Consonant      
U+0DB3 Sinhala SINHALA LETTER SANYAKA DAYANNA [3], [102], [201] Sannjaka      
U+0DB4 Sinhala SINHALA LETTER ALPAPRAANA PAYANNA [3], [102], [201] Consonant      
U+0DB5 Sinhala SINHALA LETTER MAHAAPRAANA PAYANNA [3], [102], [201] Consonant   set 2  
U+0DB5 U+0DCA ඵ් {Sinhala} SINHALA LETTER MAHAAPRAANA PAYANNA + SINHALA SIGN AL-LAKUNA [3], [102], [201] [Consonant] + [Halant]   set 3 variant of EEYANNA
U+0DB5 U+0DD9 ඵෙ {Sinhala} SINHALA LETTER MAHAAPRAANA PAYANNA + SINHALA VOWEL SIGN KOMBUVA [3], [102], [201] [Consonant] + [Matra]   set 4 variant of AIYANNA
U+0DB6 Sinhala SINHALA LETTER ALPAPRAANA BAYANNA [3], [102], [201] Consonant   set 6  
U+0DB7 Sinhala SINHALA LETTER MAHAAPRAANA BAYANNA [3], [102], [201] Consonant   set 9  
U+0DB8 Sinhala SINHALA LETTER MAYANNA [3], [102], [201] Consonant      
U+0DB9 Sinhala SINHALA LETTER AMBA BAYANNA [3], [102], [201] Sannjaka   set 5  
U+0DBA Sinhala SINHALA LETTER YAYANNA [3], [102], [201] Consonant      
U+0DBB Sinhala SINHALA LETTER RAYANNA [3], [102], [201] Consonant      
U+0DBD Sinhala SINHALA LETTER DANTAJA LAYANNA [3], [102], [201] Consonant      
U+0DC0 Sinhala SINHALA LETTER VAYANNA [3], [102], [201] Consonant   set 8  
U+0DC1 Sinhala SINHALA LETTER TAALUJA SAYANNA [3], [102], [201] Consonant      
U+0DC2 Sinhala SINHALA LETTER MUURDHAJA SAYANNA [3], [102], [201] Consonant      
U+0DC3 Sinhala SINHALA LETTER DANTAJA SAYANNA [3], [102], [201] Consonant   set 7  
U+0DC3 U+0DD8 සෘ {Sinhala} SINHALA LETTER DANTAJA SAYANNA + SINHALA VOWEL SIGN GAETTA-PILLA [3], [102], [201] [Consonant] + [Matra]   set 1 variant of IRUYANNA
U+0DC4 Sinhala SINHALA LETTER HAYANNA [3], [102], [201] Consonant   set 9  
U+0DC5 Sinhala SINHALA LETTER MUURDHAJA LAYANNA [3], [102], [201] Consonant      
U+0DC6 Sinhala SINHALA LETTER FAYANNA [3], [102], [201] Consonant      
U+0DCA  ් Sinhala SINHALA SIGN AL-LAKUNA [3], [102], [201] Halant follows-C    
U+0DCF  ා Sinhala SINHALA VOWEL SIGN AELA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD0  ැ Sinhala SINHALA VOWEL SIGN KETTI AEDA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD1  ෑ Sinhala SINHALA VOWEL SIGN DIGA AEDA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD2  ි Sinhala SINHALA VOWEL SIGN KETTI IS-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD3  ී Sinhala SINHALA VOWEL SIGN DIGA IS-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD4  ු Sinhala SINHALA VOWEL SIGN KETTI PAA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD6  ූ Sinhala SINHALA VOWEL SIGN DIGA PAA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD8  ෘ Sinhala SINHALA VOWEL SIGN GAETTA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DD9  ෙ Sinhala SINHALA VOWEL SIGN KOMBUVA [3], [102], [201] Matra follows-C-or-J    
U+0DDA  ේ Sinhala SINHALA VOWEL SIGN DIGA KOMBUVA [3], [102], [201] Matra follows-C-or-J    
U+0DDB  ෛ Sinhala SINHALA VOWEL SIGN KOMBU DEKA [3], [102], [201] Matra follows-C-or-J    
U+0DDC  ො Sinhala SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DDD  ෝ Sinhala SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA [3], [102], [201] Matra follows-C-or-J    
U+0DDE  ෞ Sinhala SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA [3], [102], [201] Matra follows-C-or-J    
U+0DF2  ෲ Sinhala SINHALA VOWEL SIGN DIGA GAETTA-PILLA [3], [102], [201] Matra follows-C-or-J    


Throughout this LGR, a code point sequence may be annotated with a string in ALL CAPS that is constructed on the same principle as a name for a Unicode Named Sequence. No claim is made that a sequence thus annotated is in fact a named sequence, nor that the annotation in such case actually corresponds to the formal name of a named sequence.

Code Point
A code point or code point sequence.
The shape displayed depends on the fonts available to your browser.
Shows the script property value from the Unicode Character Database. Combining marks may have the value Inherited and code points used with more than one script may have the value Common. Sequences are annotated with a set of all distinct script values.
Shows the character or sequence name from the Unicode Character Database. Named sequences are listed with their normative names, for ad-hoc sequences the individual names are shown separated by “+”.
Links to the references associated with the code point or sequence, if any.
LGR-defined tag values. Any tags matching the Unicode script property are suppressed in this view. For sequences, the tags for all member code points are shown in [] for information; sequences as such do not have tags.
Required Context
Link to a rule defining the required context a code point or sequence must satisfy. If prefixed by “not:” identifies a context that must not occur.
Link to the variant set the code point or sequence is a member of, except where a coded point or sequence maps only to itself, in which case the type of that mapping is listed.
The comment as given in the XML file. However, if the comment for this row consists only of the code point or sequence name, it is suppressed in this view. By convention, comments starting with “=” denote an alias. If present, the symbol ⍟ marks a default item shared among a set of LGRs.

Variant Sets

Variant Set Summary

Number of variant sets 9
Largest variant set 3
Variants by Type
blocked 22

The following tables list all variant sets defined in this LGR, except for singleton sets. Each table lists all variant mapping pairs of the set; one per row. Mappings are assumed to be symmetric: each row documents both forward (→) and reverse (←) mapping directions. In each table, the mappings are sorted by Source value in ascending code point order; shading is used to group mappings from the same source code point or sequence.

Where the type of both forward and reverse mappings are the same, a single value is given in the Type column; otherwise the types for forward and reverse mappings, as well as comments and references, are listed above one another. For summary counts, both forward and reverse mappings are always counted separately.

In any LGR with variant specifications that are well behaved, all members within each variant set are defined as variants of each other; the mappings in each set are symmetric and transitive; and variant sets for each context are disjoint, but code points that have variants with multiple contexts are members of more than one set.

Common Legend

By convention, the smaller of the two code points in a variant mapping pair.
By convention, the larger of the two code points in a variant mapping pair.
The shape displayed for source or target depends on the fonts available to your browser.
- forward
Indicates that Type, Ref and Comment apply to the mapping from source to target.
- reverse
Indicates that Type, Ref and Comment apply to the reverse mapping from target to source.
- both
Indicates that Type, Ref and Comment apply to both forward and reverse mapping.
The type of the variant mapping, including predefined variant types such as “allocatable” and “blocked”; or any that are defined specifically for this LGR.
Required Context
Link to the rule defining a required context the source must satisfy for the variant mapping to be defined. If prefixed by “not:”, identifies a context that must not occur.
One or more reference IDs (optional). A “/” separates references for reverse / forward mappings, if different.
A descriptive comment (optional). A “/” separates comments for reverse / forward mappings, if different.

Variant Set 1 — 3 Members

Source Glyph Target Glyph   Type Required Context Ref Comment
0D8D 0D9D 0DD8 ඝෘ blocked not: followed-by-H-or-M    
0D8D 0DC3 0DD8 සෘ blocked not: followed-by-H-or-M    
0D9D 0DD8 ඝෘ 0DC3 0DD8 සෘ blocked not: followed-by-H-or-M    

Variant Set 2 — 2 Members

Source Glyph Target Glyph   Type Required Context Ref Comment
0D91 0DB5 blocked not: followed-by-H-or-M    

Variant Set 3 — 2 Members

Source Glyph Target Glyph   Type Required Context Ref Comment
0D92 0DB5 0DCA ඵ් blocked not: followed-by-B-X-H-or-M    

Variant Set 4 — 2 Members

Source Glyph Target Glyph   Type Required Context Ref Comment
0D93 0DB5 0DD9 ඵෙ blocked not: followed-by-H-or-M    

Variant Set 5 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0D94 0DB9 blocked    

Variant Set 6 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0D9B 0DB6 blocked    

Variant Set 7 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0D9D 0DC3 blocked    

Variant Set 8 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0DA0 0DC0 blocked    

Variant Set 9 — 2 Members

Source Glyph Target Glyph   Type Ref Comment
0DB7 0DC4 blocked    

Classes, Rules and Actions

Character Classes

Number of named classes 7
Implict defined by script tag 1

The following table lists all named and implicit classes with their definition and a list of their members intersected with the current repertoire (for larger classes, this list is elided).

Name Definition Count Members or Ranges Ref Comment
C Tag=Consonant 35 {0D9A-0D9D 0DA0-0DA5 0DA7-0DAB 0DAD-0DB1 0DB4-0DB8 0DBA-0DBB 0DBD 0DC0-0DC6}   Any Sinhala consonant
V Tag=Vowel 15 {0D85-0D8D 0D91-0D96}   Any Sinhala independent vowel
M Tag=Matra 15 {0DCF-0DD4 0DD6 0DD8-0DDE 0DF2}   Any Sinhala vowel sign (matra)
J Tag=Sannjaka 4 {0D9F 0DAC 0DB3 0DB9}   Any Sinhala Sannjaka
H Tag=Halant 1 {0DCA}   The Sinhala Al-Lakuna (Halant)
B Tag=Anusvara 1 {0D82}   The Sinhala Anusvara
X Tag=Visarga 1 {0D83}   The Sinhala Visarga
implicit Tag=sc:Sinh 72 {0D82-0D83 0D85-0D8D 0D91-0D96 0D9A-0D9D 0D9F-0DA5 0DA7-0DB1 0DB3-0DBB 0DBD 0DC0-0DC6 0DCA 0DCF-0DD4 0DD6 0DD8-0DDE 0DF2}   Any character tagged as Sinhala


Members or Ranges
Lists the members of the class as code points (xxx) or as ranges of code points (xxx-yyy). Any class too numerous to list in full is elided with "...".
A named or implicit class defined by all code points that share the given tag value (ttt).
An anonymous class implicitly defined based on tag value and for which there is no named equivalent.

Whole label evaluation and context rules

Number of rules 7
Used to trigger actions 1
Used as context rule (C) 4
Used as context rule (V) 2
Anchored context rules 6

The following table lists all named rules defined in the LGR and indicates whether they are used as trigger in an action or as context (when or not-when) for a code point or variant.

Name Regular Expression Used as
Anchor Used as
Ref Comment
leading-combining-mark (start)[[\p{gc=Mn}] ∪ [\p{gc=Mc}]]       Default WLE rule matching labels with leading combining marks ⍟
follows-C ([:C:])← ⚓︎   C   Section 7, WLE 1: Halanta/Virama must be preceded by C
follows-C-or-J ([:C:]|[:J:])← ⚓︎   C   Section 7, WLE 2: Matra must be preceded by C or J
follows-V-C-or-M ([:V:]|[:C:]|[:M:])← ⚓︎   C   Section 7, WLE 3: Visarga must be preceded by V, C or M
follows-V-C-J-or-M ([:V:]|[:C:]|[:J:]|[:M:])← ⚓︎   C   Section 7, WLE 4: Anusvara (Bindu) must be preceded by V, C, J or M
followed-by-H-or-M ⚓︎ →([:H:]|[:M:])   V   variants are undefined preceding a Halant or Matra
followed-by-B-X-H-or-M ⚓︎ →([:B:]|[:X:]|[:H:]|[:M:])   V   variants are undefined preceding an Anusvara, Visarga, Halant or Matra


Used as Trigger
This rule triggers one of the actions listed below.
Used as Context
This rule defines a required or prohibited context for a code point C or variant V.
This rule has a placeholder for the code point for which it is evaluated.
Regular Expression
A regular expression equivalent to the rule, shown in a modified notation as noted:
⚓︎ - context anchor
Placeholder for the actual code point when a context is evaluated. The code point must occur at the position corresponding to the anchor. Rules containing an anchor cannot be used as triggers.
(...)← - look-behind
If present encloses required context preceding the anchor.
→(..) - look-ahead
If present encloses required context following the anchor.
(... | ...) - choice
When there is more than one alternative in a rule, the choices are separated by the alternation operator (...|...).
start or end
(start) matches the start of the label; (end) matches the end of the label.
[: :] - named or implicit character set
Reference to a named character set [:name:] or an implicit character set [:tag:]. A leading “^” before name or tag indicates the set complement.
[\p{ }] - property
Set of all characters matching a given value for a Unicode property [\p{prop=val}]. Note: uppercase “\P” defines the complement of a property set.
∪, ∩, ∖, ∆ - set operators
Sets may be combined by set operators ( = union, = intersection, = difference, = symmetric difference).
⍟ - default rule
Rules marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.


The following table lists the actions that are used to assign dispositions to labels and variant labels based on the specified conditions. The order of actions defines their precedence: the first action triggered by a label is the one defining its disposition.

# Condition Rule / Variant Set   Disposition Ref Comment
1 if label matches leading-combining-mark invalid   labels with leading combining marks are invalid ⍟
2 if at least one variant is in {out-of-repertoire-var} invalid   any variant label with a code point out of repertoire is invalid ⍟
3 if at least one variant is in {blocked} blocked   any variant label containing blocked variants is blocked ⍟
4 if each variant is in {allocatable} allocatable   variant labels with all variants allocatable are allocatable ⍟
5 if any label (catch-all)   valid   catch all (default action) ⍟


{...} - variant type set
In the “Rule/Variant Set” column, the notation {...} means a set of variant types.
⍟ - default action
Actions marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.

Table of References

The following lists the references cited for specific code points, variants, classes, rules or actions in this LGR. For General references refer to the "References" section in the Description.

[3] The Unicode Standard 3.0
Any code point originally encoded in Unicode 3.0
[102] Disanayaka, JB. 2006. Sinhala Akshara Vicharaya (Sinhala Graphology), Sumitha Publishers, Kalubovila. ISBN: 955-1146-44-1
[201] Omniglot: The on-line encyclopedia of writing system and Languages, “Sinhala”