8 repositorios
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 es un transpiler de expresiones regulares y compilador de patrones que traduce una sintaxis de alto nivel legible por humanos a expresiones regulares estándar. Funciona como una herramienta para simplificar la creación y mantenibilidad de patrones de coincidencia complejos. El proyecto proporciona una sintaxis especializada para definir variables y macros reutilizables para reducir la duplicación dentro de las expresiones. Incluye soporte nativo para mapear etiquetas especializadas a propiedades de categoría Unicode y maneja automáticamente el escape de texto literal. El sistema es accesible a través de varias interfaces, incluyendo una herramienta de línea de comandos para compilar y probar patrones contra cadenas o archivos, un REPL interactivo con estado para evaluación en tiempo real y un plugin de Babel para integrar transformaciones de sintaxis en pipelines de construcción de JavaScript. También ofrece una interfaz basada en navegador para probar la sintaxis sin instalación local. El compilador admite capacidades estándar de expresiones regulares como grupos de captura, aserciones de lookaround, clases de caracteres y cuantificadores.
Generates standard regular expressions by transpiling human-readable syntax and definitions.
i-hate-regex es un conjunto de utilidades interactivas para construir, validar, configurar y visualizar expresiones regulares. Proporciona un entorno especializado para la construcción y depuración de expresiones regulares, permitiendo a los usuarios crear patrones complejos y verificar el comportamiento de coincidencia mediante pruebas interactivas. El proyecto cuenta con un generador de expresiones regulares con vista previa de coincidencia en tiempo real y una herramienta de representación visual que muestra la estructura lógica de un patrón. También incluye una librería curada de patrones estandarizados para formatos de datos comunes, incluyendo direcciones de correo electrónico, direcciones IP, números de teléfono, fechas y números de seguridad social. El conjunto de herramientas cubre la validación de sintaxis regex y la configuración de flags para comportamientos globales, insensibles a mayúsculas/minúsculas y multilínea. También admite la integración de sus componentes de visualización en sitios web externos.
Generates regular expression patterns based on specific constraints with a real-time matching preview.
regex-vis es un conjunto de herramientas para la visualización, edición y prueba de expresiones regulares. Proporciona un visualizador que genera mapas estructurales de patrones para aclarar cómo analizan y coinciden con el texto, junto con un editor visual para modificar patrones sin entrada manual de caracteres. El sistema incluye un probador de expresiones regulares para validar patrones contra cadenas de muestra. Estas herramientas permiten la depuración del comportamiento de coincidencia de patrones visualizando la estructura interna de la expresión regular.
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 is an agent orchestration platform and multimodal interface designed for building and deploying specialized AI personas. It allows users to create task-oriented agents with custom system prompts and behavioral constraints to automate professional, creative, and technical workflows. The project features a prompt engineering workflow that transforms simple user inputs into structured instructions to improve model accuracy. It integrates retrieval-augmented generation by connecting vector databases to the chat interface, enabling context-aware responses from private datasets. The platfo
Synthesizes regular expression patterns based on natural language descriptions of the desired matching behavior.