14 Repos
Replacing occurrences of text patterns with new strings or function results.
Distinct from Pattern-Based Replacements: Shortlist candidates focus on AST nodes, AI generation, or specific design tools; this is a core language-level string manipulation capability.
Explore 14 awesome GitHub repositories matching programming languages & runtimes · String Pattern Replacements. Refine with filters or upvote what's useful.
Espanso is a cross-platform text expander and automation tool written in Rust. It replaces short keywords with longer predefined text strings across different operating systems to increase typing speed and consistency. The tool utilizes regular expressions to detect complex typing patterns for dynamic replacement and allows for the execution of custom shell scripts to inject real-time data. Users can restrict expansions to specific software environments, ensuring that keywords only trigger within designated applications. The system includes a manager for installing and updating curated colle
Replaces matched text patterns with new strings or the results of executed functions.
LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code. The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on
Demonstrates how to swap text patterns with replacement strings using Python's string manipulation capabilities.
arxiv-latex-cleaner is a utility designed to prepare LaTeX projects for submission to the arXiv preprint server. It functions as a document sanitizer and source cleaner, removing private comments, metadata, and sensitive information from LaTeX files. The tool optimizes document size by eliminating unused files and compressing graphics to meet strict upload limits. It further handles the externalization of complex drawing environments, replacing raw source code with references to pre-compiled image or PDF files to hide simulation data. The system performs source-to-source transformations to r
Provides the capability to replace custom document commands with standard code using regular expressions.
Dies ist ein Logging-Framework für Node.js, das auf der log4j-Architektur basiert. Es bietet ein System zur Verwaltung hierarchischer Logger und Schweregrad-Schwellenwerte, wodurch Anwendungsereignisse aufgezeichnet und nach Wichtigkeit kategorisiert werden können. Das Framework zeichnet sich durch sein Cluster-fähiges Logging aus, das die Ausgabe über mehrere Prozesscluster hinweg in einen einheitlichen Stream synchronisiert und koordiniert. Es enthält zudem einen dedizierten Log-File-Rotation-Manager, der Dateien automatisch nach Datum oder Größe rotiert, um Speicherplatzerschöpfung zu verhindern, sowie einen Netzwerk-Log-Transporter zum Senden von Daten an Remote-Server via TCP oder UDP. Das Projekt deckt umfassende Observability-Funktionen ab, einschließlich Call-Stack-Erfassung für Debugging und der Möglichkeit, Log-Daten an mehrere Ziele wie Konsole, lokale Dateien oder externe Netzwerkdienste zu routen. Es unterstützt strukturiertes Log-Formatieren durch benutzerdefinierte Ausgabemuster und verwaltet das Diagnosevolumen durch kategorienbasiertes Level- und Routenmanagement.
Transforms raw log data into structured text via custom patterns and dynamic metadata placeholders.
FlashText ist ein wörterbuchbasierter Textprozessor und eine Bibliothek zur Keyword-Extraktion, die für hochperformante String-Suche und programmatische Inhaltsersetzung entwickelt wurde. Sie bietet spezialisierte Utilities, um vordefinierte Begriffe aus Texten zu identifizieren und abzurufen oder spezifische Begriffe durch Ersatz-Strings in großen Datenmengen auszutauschen. Das Projekt nutzt eine Aho-Corasick-String-Suchimplementierung, um das Matching mehrerer Muster zu ermöglichen. Dieser Ansatz erlaubt das Scannen von Text in einem einzigen Durchgang und eine Suchkomplexität in linearer Zeit, wodurch die Verarbeitungszeit von der Länge des Eingabetextes abhängt und nicht von der Größe des Keyword-Wörterbuchs. Die Bibliothek deckt das Management von Keyword-Wörterbüchern zur Pflege gezielter Begrifflisten ab und bietet Workflows sowohl für die automatisierte Textersetzung als auch für die Keyword-Extraktion. Diese Funktionen ermöglichen die systematische Modifikation und den Abruf vordefinierter Begriffe innerhalb massiver Datensätze.
Implements a function for swapping specific terms with replacement strings across documents programmatically.
Amber ist ein Transpiler, der High-Level-Quellcode in ausführbare Shell-Skripte für Bash, Zsh und Ksh übersetzt. Er bietet eine typsichere Umgebung für die Shell-Skript-Generierung, was eine statische Typvalidierung und die Erstellung eigenständiger ausführbarer Skripte ermöglicht. Das Projekt zeichnet sich durch einen Kompilierungsprozess aus, der Tree-Shaking-Import-Optimierung zur Reduzierung der Ausgabegröße und templatebasiertes Skript-Wrapping für benutzerdefinierte Header und Footer umfasst. Es nutzt ein modulbasiertes Abhängigkeitsauflösungssystem mit Sichtbarkeitskontrollen, um die Wiederverwendung von Code über mehrere Dateien hinweg zu verwalten. Die Sprachoberfläche deckt eine breite Palette an Automatisierungsmöglichkeiten ab, einschließlich umfassender Dateisystemverwaltung, Prozesssteuerung und Netzwerkkommunikation via HTTP. Es bietet integrierte Hilfsprogramme für Textverarbeitung, Datenmanipulation, Datums- und Zeitmanagement sowie System-Introspektion. Das Toolset enthält einen integrierten Test-Runner zur Logikverifizierung und ein Dienstprogramm zur automatischen Generierung von Markdown-Projektdokumentation aus Quellcode-Kommentaren.
Provides a utility for substituting strings or regular expressions with new text.
Dieses Projekt ist eine umfassende Bildungsressource, bestehend aus einem Bash-Programmier-Tutorial, einer Skripting-Referenz und einem Linux-Kommandozeilen-Handbuch. Es bietet Lehrmaterialien für das Schreiben von Skripten, die Automatisierung von Systemaufgaben sowie die Beherrschung der Terminal-Navigation und Unix-Systemadministration. Die Anleitungen decken eine breite Palette an Anpassungen der Shell-Umgebung ab, einschließlich Prompt-Styling und der Verwendung von Aliasen. Zudem gibt es einen Leitfaden für die Shell-Umgebung zur Verwaltung von Konfigurationsdateien und zur Initialisierung von Benutzerumgebungen. Die Materialien beschreiben eine Vielzahl von Funktionen, darunter Kontrollflusslogik, Datenverwaltung mit indizierten und assoziativen Arrays sowie Textverarbeitung. Weitere abgedeckte Bereiche umfassen Datei- und Ressourcenmanagement, Pattern-Matching mit regulären Ausdrücken sowie Observability-Tools für das Debugging von Skripten und die Syntaxvalidierung. Die Ressource erklärt zudem interaktive Terminal-Funktionen wie den Abruf der Befehlshistorie, die Eingabevervollständigung und Tastenkombinationen für die Navigation in der Kommandozeile.
Covers string manipulation techniques for searching and replacing text patterns using shell expansion.
Search-Replace-DB is a MySQL search and replace tool designed for updating database strings and migrating PHP-based websites and content management systems. It functions as a database migration utility to update references and table engines when moving sites to new servers or domains. The project specifically handles the updating of text inside serialized PHP arrays and objects, recalculating lengths to maintain data structure integrity and prevent corruption. It also includes a converter for modifying storage engines and character collations across multiple MySQL tables. Additional capabili
Swaps text within a database while preserving the integrity of serialized data structures.
embedded-notes ist eine Sammlung technischer Studienleitfäden und Entwicklungsnotizen mit Fokus auf Embedded Linux, Linux-Kernel-Internals und C-Programmierung. Sie dient als Referenz für die Entwicklung eingebetteter Systeme und als Vorbereitungsressource für technische Vorstellungsgespräche in diesem Bereich. Das Projekt bietet detaillierte Dokumentation zum Schreiben von Gerätetreibern, zur Verwaltung von virtuellem Speicher und zum Verständnis der Kernel-Internals. Es enthält zudem Leitfäden zu IoT-Netzwerkprotokollen wie MQTT und TCP/IP und skizziert die architektonischen Details von Chip-Architekturen und Hardware-Peripheriegeräten. Das Material deckt ein breites Spektrum der Systemprogrammierung ab, einschließlich manueller Speicherverwaltung, Prozesslebenszyklus-Management und der Implementierung von Konzepten für Echtzeitbetriebssysteme. Es enthält zudem Referenzen für Low-Level-Tools wie Cross-Kompilierung für ARM, Binäranalyse und Shell-Scripting für Build-Automatisierung.
Provides techniques for replacing patterns and manipulating substrings within shell variables.
Kùzu is an embedded property graph database engine designed for high-performance analytical queries and local data management. It operates as a library within the host application process, utilizing a columnar-based storage architecture and just-in-time query compilation to execute complex graph traversals and pattern matching efficiently. By mapping database files directly into system memory, it ensures data durability and high-speed access while maintaining ACID-compliant transactional integrity. The engine distinguishes itself by integrating vector similarity search and full-text search di
Replaces occurrences of text patterns with new strings or function results.
vim-javascript is a syntax plugin for the Vim text editor that provides a collection of syntax highlighting, indentation rules, and code folding definitions specifically for JavaScript files. It functions as a set of implementation modules that extend the editor's native capabilities to improve the readability and structural management of the language. The project features a display layer customizer that utilizes character concealment to replace specific keywords and sequences with shorthand symbols. This reduces visual noise and increases code density without altering the actual content of t
Provides display concealment by replacing specific character sequences with shorthand symbols to reduce visual noise.
This is a collection of official extensions for the Rollup bundling process. These plugins serve as module transformers, resolution managers, and bundle optimizers designed to modify how JavaScript modules are processed, resolved, and optimized. The suite provides specialized capabilities for modern web transpilation, converting TypeScript, JSX, Flow, and GraphQL into compatible JavaScript. It distinguishes itself through extensive non-JavaScript asset integration, allowing the import of JSON, YAML, CSV, and image files as JavaScript modules or data URIs, and providing support for bundling We
Swaps text patterns with values to inject environment variables and constants during bundling.
Eloquent-JavaScript is a comprehensive JavaScript programming textbook and interactive coding tutorial designed for web development education. It serves as both a language reference and a practical guide, combining theoretical lessons with an environment where learners can execute and modify code examples. The project focuses on the fundamental principles of the JavaScript language, including lexical scoping, prototype-based inheritance, and asynchronous patterns. It provides detailed instruction on object-oriented programming, functional programming, and the use of the browser DOM to create
Provides functionality to swap occurrences of a text pattern with a new string or the result of a function.
magic-string is a low-level JavaScript library designed for compilers and bundlers to perform source code transformations. It serves as a string transformation utility and source map manipulation library that allows for modifying text while automatically tracking character offsets. The library enables the modification of source code strings through insertions, replacements, and removals without losing the relationship to original source positions. It specifically provides mechanisms to generate mapping files that link transformed output text back to original source file coordinates. Capabili
Executes string or regular expression replacements based on the content of the original source text.