Pattern Syntax

Unicode Version 18.0

Pattern Syntax is a character classification that identifies symbols and punctuation specifically designated for use in programming languages and pattern matching systems, such as regular expressions. These characters, including operators like plus, asterisk, question mark, and brackets, are excluded from identifiers and reserved for syntactic structure, ensuring that code parsing is unambiguous across different scripts. The property defines two main categories: Pattern_White_Space, which covers spaces, tabs, and line breaks used for token separation, and Pattern_Syntax, which lists the non-alphanumeric characters that form operators or delimiters. By standardizing these roles, it allows developers and language designers to rely on a consistent set of characters for control flow and data pattern definitions, regardless of the natural language or writing system in use, thereby preventing accidental conflicts between text characters and code structure.