14 repository-uri
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.
Acesta este un framework de logging pentru Node.js bazat pe arhitectura log4j. Oferă un sistem pentru gestionarea logger-elor ierarhice și a pragurilor de severitate, permițând înregistrarea și categorisirea evenimentelor aplicației pe diferite niveluri de importanță. Framework-ul se distinge prin logging-ul cluster-aware, care sincronizează și coordonează output-ul între mai multe clustere de procese într-un flux unificat. Include, de asemenea, un manager dedicat de rotație a fișierelor de log, care rulează automat fișierele după dată sau dimensiune pentru a preveni epuizarea spațiului pe disc, și un transportor de log-uri de rețea pentru trimiterea datelor către servere la distanță via TCP sau UDP. Proiectul acoperă capabilități largi de observabilitate, inclusiv capturarea call stack-ului pentru debugging și capacitatea de a direcționa datele de log către mai multe destinații, cum ar fi consola, fișiere locale sau servicii de rețea externe. Suportă formatarea structurată a log-urilor prin tipare de output personalizate și gestionează volumul diagnostic prin gestionarea nivelului și a rutelor bazată pe categorii.
Transforms raw log data into structured text via custom patterns and dynamic metadata placeholders.
FlashText is a dictionary-based text processor and keyword extraction library designed for high-performance string searching and programmatic content replacement. It provides specialized utilities to identify and retrieve predefined terms from text or swap specific terms with replacement strings across large volumes of data. The project utilizes an Aho-Corasick string search implementation to enable multiple-pattern matching. This approach allows for single-pass text scanning and linear-time complexity search, ensuring processing time depends on the length of the input text rather than the si
Implements a function for swapping specific terms with replacement strings across documents programmatically.
Amber is a transpiler that translates high-level source code into executable shell scripts for Bash, Zsh, and Ksh. It provides a type-safe environment for shell script generation, allowing for static type validation and the creation of standalone executable scripts. The project distinguishes itself through a compilation process that includes tree-shaking import optimization to reduce output size and template-based script wrapping for custom headers and footers. It utilizes a module-based dependency resolution system with visibility controls to manage code reuse across multiple files. The lan
Provides a utility for substituting strings or regular expressions with new text.
Acest proiect este o resursă educațională cuprinzătoare constând într-un tutorial de programare Bash, o referință de scripting și un manual de linie de comandă Linux. Oferă materiale instrucționale pentru scrierea scripturilor, automatizarea sarcinilor de sistem și stăpânirea navigării în terminal și a administrării sistemelor Unix. Ghidurile acoperă o gamă largă de personalizări ale mediului shell, inclusiv stilizarea promptului și utilizarea alias-urilor. De asemenea, oferă un ghid pentru mediul shell pentru gestionarea fișierelor de configurare și inițializarea mediilor utilizator. Materialele detaliază un set larg de capabilități, inclusiv logica fluxului de control, gestionarea datelor cu array-uri indexate și asociative și procesarea textului. Alte arii acoperite includ gestionarea fișierelor și resurselor, potrivirea modelelor cu expresii regulate și instrumente de observabilitate pentru depanarea scripturilor și validarea sintaxei. Resursa explică, de asemenea, funcțiile interactive ale terminalului, cum ar fi recuperarea istoricului comenzilor, completarea intrărilor și scurtăturile de la tastatură pentru navigarea în linia de comandă.
Covers string manipulation techniques for searching and replacing text patterns using shell expansion.
Search-Replace-DB este un utilitar MySQL de căutare și înlocuire, conceput pentru actualizarea șirurilor de caractere din baze de date și pentru migrarea site-urilor bazate pe PHP și a sistemelor de gestionare a conținutului. Acesta funcționează ca un instrument de migrare a bazelor de date pentru a actualiza referințele și motoarele tabelelor atunci când site-urile sunt mutate pe servere sau domenii noi. Proiectul gestionează în mod specific actualizarea textului din interiorul tablourilor și obiectelor PHP serializate, recalculând lungimile pentru a menține integritatea structurii datelor și a preveni coruperea acestora. Include, de asemenea, un convertor pentru modificarea motoarelor de stocare și a seturilor de caractere (collations) pentru mai multe tabele MySQL. Capabilitățile suplimentare includ potrivirea modelelor prin expresii regulate, simulări de tip „dry-run” pentru a previzualiza modificările în așteptare și posibilitatea de a limita operațiunile la tabele sau coloane specifice. Instrumentul suportă, de asemenea, conexiuni criptate la baza de date folosind certificate SSL.
Swaps text within a database while preserving the integrity of serialized data structures.
embedded-notes is a collection of technical study guides and development notes focused on embedded Linux, Linux kernel internals, and C programming. It serves as a reference for embedded systems development and a preparation resource for technical interviews in the field. The project provides detailed documentation on writing device drivers, managing virtual memory, and understanding kernel internals. It also includes guides on IoT network protocols, such as MQTT and TCP/IP, and outlines the architectural details of chip architectures and hardware peripherals. The material covers a broad sur
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.