8 Repos
Tools that automatically synthesize a regular expression based on a set of provided matching examples.
Distinct from Regular Expressions: Existing candidates are regex libraries or engines, not generators that create patterns from test cases.
Explore 8 awesome GitHub repositories matching development tools & productivity · Regular Expression Generators. Refine with filters or upvote what's useful.
Browserslist is a browser target configuration tool and market share database. It provides a shared configuration layer that synchronizes supported browser versions across various front-end development tools, such as JavaScript compilers and CSS autoprefixers, to determine necessary syntax transforms and polyfills. The project translates human-readable queries into specific lists of browser versions based on global and regional usage statistics. It allows for the integration of custom analytics data to override global market share and can generate regular expressions from target lists to dete
Converts a list of targeted browser versions into a single regular expression pattern for user agent detection.
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
Creates a single regular expression by detecting common prefixes, suffixes, and repeated substrings across provided test cases.
Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida
Infers precise string types from regular expression syntax to provide static safety for matching.
Melody ist ein Transpiler für reguläre Ausdrücke und ein Pattern-Compiler, der eine hochgradig lesbare Syntax in Standard-RegEx übersetzt. Er fungiert als Tool zur Vereinfachung der Erstellung und Wartbarkeit komplexer Matching-Muster. Das Projekt bietet eine spezialisierte Syntax zur Definition wiederverwendbarer Variablen und Makros, um Duplikate innerhalb von Ausdrücken zu reduzieren. Es beinhaltet native Unterstützung für das Mapping spezialisierter Labels auf Unicode-Kategorie-Eigenschaften und handhabt automatisch das Escaping von Literaltext. Das System ist über mehrere Schnittstellen zugänglich, darunter ein CLI-Tool zum Kompilieren und Testen von Mustern gegen Strings oder Dateien, ein zustandsbehaftetes interaktives REPL für die Echtzeit-Auswertung und ein Babel-Plugin zur Integration von Syntax-Transformationen in JavaScript-Build-Pipelines. Es bietet zudem eine browserbasierte Schnittstelle zum Testen der Syntax ohne lokale Installation. Der Compiler unterstützt Standard-RegEx-Funktionen wie Capture-Gruppen, Lookaround-Assertions, Zeichenklassen und Quantifizierer.
Generates standard regular expressions by transpiling human-readable syntax and definitions.
i-hate-regex ist eine Suite interaktiver Dienstprogramme zum Erstellen, Validieren, Konfigurieren und Visualisieren regulärer Ausdrücke. Sie bietet eine spezialisierte Umgebung für die Konstruktion und das Debugging regulärer Ausdrücke, die es Benutzern ermöglicht, komplexe Muster zu erstellen und das Matching-Verhalten durch interaktive Tests zu verifizieren. Das Projekt bietet einen Generator für reguläre Ausdrücke mit Echtzeit-Matching-Vorschau und ein Visualisierungstool, das die logische Struktur eines Musters anzeigt. Es enthält zudem eine kuratierte Bibliothek standardisierter Muster für gängige Datenformate, einschließlich E-Mail-Adressen, IP-Adressen, Telefonnummern, Datumsangaben und Sozialversicherungsnummern. Das Toolset deckt die Validierung der Regex-Syntax und die Konfiguration von Flags für globales, nicht-case-sensitives und mehrzeiliges Verhalten ab. Es unterstützt zudem das Einbetten seiner Visualisierungskomponenten in externe Websites.
Generates regular expression patterns based on specific constraints with a real-time matching preview.
regex-vis ist eine Reihe von Tools zur Visualisierung, Bearbeitung und zum Testen regulärer Ausdrücke. Es bietet einen Visualisierer, der strukturelle Karten von Mustern generiert, um zu verdeutlichen, wie diese Text parsen und abgleichen, sowie einen visuellen Editor zur Modifikation von Mustern ohne manuelle Zeicheneingabe. Das System enthält einen Tester für reguläre Ausdrücke, um Muster gegen Beispiel-Strings zu validieren. Diese Tools ermöglichen das Debugging des Pattern-Matching-Verhaltens durch die Visualisierung der internen Struktur des regulären Ausdrucks.
Includes a validator that checks regular expressions against sample strings to verify intended matching.
magic-regexp is a type-safe regular expression builder and TypeScript compiler. It allows for the construction of JavaScript regular expressions using a readable syntax that automatically generates precise types for captured groups, ensuring predictable data extraction. The project functions as a build-time transformer that converts custom pattern syntax into standard regular expression objects. This static compilation removes runtime overhead by shifting the transformation logic to the build process. The tool covers named capture group generation and a readable construction API that replace
Compiles readable chainable regex syntax into native RegExp objects with automatic TypeScript type inference for capture groups.
OpenGpt ist eine Agenten-Orchestrierungsplattform und multimodale Schnittstelle für den Aufbau und die Bereitstellung spezialisierter KI-Personas. Sie ermöglicht es Benutzern, aufgabenorientierte Agenten mit benutzerdefinierten System-Prompts und Verhaltensvorgaben zu erstellen, um professionelle, kreative und technische Workflows zu automatisieren. Das Projekt bietet einen Prompt-Engineering-Workflow, der einfache Benutzereingaben in strukturierte Anweisungen umwandelt, um die Modellgenauigkeit zu verbessern. Es integriert Retrieval-Augmented Generation durch die Anbindung von Vektordatenbanken an das Chat-Interface, was kontextbezogene Antworten aus privaten Datensätzen ermöglicht. Die Plattform deckt ein breites Spektrum an Funktionen ab, darunter multimodales Daten-Parsing für PDFs und Audio, Multi-Provider-API-Management via persönlicher Keys sowie die Generierung diverser Content-Typen wie professionelle Dokumente, funktionaler Code und visuelle Prompts. Zudem enthält sie Tools für Inhaltsanalyse, Übersetzungsdienste und Identitätsmanagement via Google OAuth.
Synthesizes regular expression patterns based on natural language descriptions of the desired matching behavior.