4 dépôts
Tools for identifying and scanning text for specific Unicode character sequences.
Distinct from Text Pattern Matching: None of the candidates were relevant; this focuses on Unicode-specific sequence identification for replacement.
Explore 4 awesome GitHub repositories matching web development · Unicode Pattern Matching. Refine with filters or upvote what's useful.
Twemoji is a library designed to provide consistent emoji rendering across different web browsers and operating systems. It functions by identifying and extracting Unicode emoji sequences from text and replacing them with standardized graphical assets, ensuring that symbols appear identical regardless of the underlying platform. The project distinguishes itself by offering a comprehensive toolkit that combines parsing logic with a library of scalable vector and rasterized image assets. This allows for the programmatic transformation of text into high-quality visual representations, supporting
Identifies specific Unicode character sequences within text to trigger graphical replacement.
Kakoune is a scriptable, modal text editor for the terminal that employs a client-server architecture. This model allows multiple terminal windows to connect to a single editing session, providing a programmable environment for managing source code and text. The editor is distinguished by its selection-first logic, where a text region must be predefined before a command is applied. It leverages regular expressions to manage multiple cursors and perform bulk edits across complex text patterns, and it integrates deeply with the shell by piping selections through external programs and filters.
The editor uses regular expressions to search and manipulate text based on Unicode sequences.
Grex is a regular expression generator and Rust pattern library that synthesizes a single regular expression from a set of provided text test cases. It functions as a command-line tool and a library, utilizing a Rust-based engine to analyze commonalities across input strings to create matching patterns. The project distinguishes itself through Unicode-aware grapheme processing, ensuring consistent matching across diverse character sets and non-ASCII text. It also provides Python bindings to make its core Rust logic available within Python environments. The system covers pattern generalizatio
Generates regular expressions that correctly handle complex Unicode graphemes and non-ASCII characters.
Melody est un transpiler d'expressions régulières et un compilateur de motifs qui traduit une syntaxe de haut niveau lisible par l'humain en expressions régulières standard. Il fonctionne comme un outil pour simplifier la création et la maintenabilité de motifs de correspondance complexes. Le projet fournit une syntaxe spécialisée pour définir des variables et des macros réutilisables afin de réduire la duplication au sein des expressions. Il inclut un support natif pour mapper des étiquettes spécialisées aux propriétés de catégorie Unicode et gère automatiquement l'échappement du texte littéral. Le système est accessible via plusieurs interfaces, notamment un outil en ligne de commande pour compiler et tester des motifs sur des chaînes ou des fichiers, un REPL interactif avec état pour une évaluation en temps réel, et un plugin Babel pour intégrer les transformations de syntaxe dans les pipelines de build JavaScript. Il offre également une interface basée sur navigateur pour tester la syntaxe sans installation locale. Le compilateur prend en charge les capacités d'expression régulière standard telles que les groupes de capture, les assertions lookaround, les classes de caractères et les quantificateurs.
Handles internationalized text processing by matching characters based on predefined Unicode categories.