14 个仓库
Validation rules that verify a value matches a specified regular expression pattern.
Distinct from Regular Expression Libraries: Shortlist contains regex generators and libraries, not the application of regex for data validation
Explore 14 awesome GitHub repositories matching software engineering & architecture · Regular Expression Validations. Refine with filters or upvote what's useful.
Rustlings is an interactive language tutorial and exercise suite designed to teach the syntax and idioms of the Rust programming language. It functions as a guided learning path where users build proficiency by solving a collection of small, interactive coding challenges. The project utilizes compiler-driven learning, employing the Rust compiler to provide immediate feedback and validation as users fix broken code snippets. This approach focuses on language onboarding and education through practical, hands-on coding practice. The learning experience is structured around a file-based exercise
Uses regular expressions to validate that users have implemented specific code signatures or keywords.
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
Validates that data matches a specified regular expression pattern at the type level.
1loc is a JavaScript utility library and multifaceted toolkit providing a collection of single-line functions for common mathematical, string, date, and geometric operations. It functions as a set of functional programming helpers and data validation predicates designed to perform atomic transformations and validations. The project includes a geometry math library for calculating distances, angles, and spatial overlaps between points and rectangles, alongside a text manipulation library for casting, capitalizing, and analyzing string content. The toolkit covers broader capability areas inclu
Employs regular expression patterns to validate text content and identify specific character sets.
SpringSide 4 is an enterprise Java reference architecture and utility library built on the Spring Framework. It provides a pragmatic, best-practice application stack for building RESTful web services, web applications, and data access layers, along with a curated collection of high-performance utility classes for common operations like text, date, collection, reflection, concurrency, and I/O handling. The project distinguishes itself by combining a complete reference application scaffold with production-oriented infrastructure. It includes a JPA-based data access layer that automatically tran
Uses precompiled regular expressions for common validations to avoid runtime compilation overhead.
Common.Utility 是一个通用工具库,提供了一系列用于常见编程任务的辅助类。它作为一个数据安全框架、数据库访问包装器,以及用于系统管理和网络通信的工具套件。 该库包括一个用于生成条形码和二维码、编辑图像以及转换视频格式的多媒体处理套件。它还提供了一个用于管理 HTTP 请求和 FTP 传输的网络通信工具包,以及与电子邮件和通知服务的集成。 该项目涵盖了广泛的功能,包括文件 I/O、字符串操作和数据转换。它提供用于通过线程池进行后台任务调度、带有注入检测的数据库操作管理,以及用于执行 Shell 命令和管理注册表设置的系统管理工具。
Utilizes regular expressions to validate the correctness and safety of string and image inputs.
imaskjs 是一个 JavaScript 输入掩码库和 DOM 输入管理器,用于实时强制执行用户输入的特定模式、数据类型和范围。它作为一个数据格式化库和输入验证工具,使用掩码和自定义管道将原始输入值转换为格式化的字符串。 该项目提供动态掩码功能,允许输入模式根据用户输入的字符实时更改或切换。它支持复杂的输入约束,包括正则表达式、数值范围、基于日期的验证和字符枚举。 该库涵盖了广泛的输入处理和数据管理任务,包括预处理和后处理转换、用于 API 提交的原始值提取,以及将掩码应用于标准 HTML 输入字段和 contenteditable 元素。
Forces user input to match specific patterns using regular expressions or fixed patterns.
ActiveLabel.swift 是一个 iOS 富文本解析库和交互式文本标签。它作为标准标签的替代品,识别字符串中的特定文本模式并将不同的视觉样式应用于识别出的实体。 该项目支持使用自定义正则表达式文本识别器检测和高亮显示标签 (#hashtags)、提及 (@mentions) 和 URL。它允许定义项目特定的文本模式,并使用基于谓词的过滤来确定检测到的实体是否应被高亮显示或忽略。 该系统通过实体点击处理来管理用户交互,当用户与识别出的元素交互时触发回调函数。它还包括用于 URL 管理的实用程序,例如截断长网址以保持布局一致性。
Allows the definition of project-specific text patterns using custom regular expressions for entity recognition.
This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides reference implementations and educational examples designed to help developers master language fundamentals and prepare for technical interviews. The project covers a wide array of specialized implementations, including functional programming patterns like currying and partial application, as well as asynchronous patterns for concurrency control. It also includes practical examples of Document Object Model manipulation and the implementation of common data structures such as stacks
JavaScript capability to use regular expressions to verify if a string matches specific formats like phone numbers.
这是一个专为 Elixir 设计的静态分析工具和 linter,旨在强制在代码库中执行统一的视觉结构。它作为代码格式化、命名约定和文档标准的规范。 该工具为文件、函数和变量中使用的命名大小写和前缀提供了一套标准化系统。它还建立了模块和函数描述的格式化指南,以确保技术文档的一致性。 该项目涵盖了广泛的代码质量领域,包括模块布局的组织、注释模式的实现以及测试断言的标准化。它还为惯用语言表达和类型规范的定义提供了指导。
Uses regular expression validations to identify naming and formatting violations in source code.
ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Verifies if a value matches a specified regular expression pattern and returns an error on failure.
govaluate 是一个 Go 表达式求值器和运行时逻辑解析器。它作为一个动态规则引擎,将基于字符串的表达式转换为可执行操作,从而允许在运行时计算数学和逻辑表达式。 该库支持在不重新编译源代码的情况下执行业务规则和自定义公式。它支持通过注入外部参数和执行用户定义的自定义函数来扩展求值行为。 该系统提供了动态数据验证功能,包括正则表达式匹配和集合成员资格验证。它还使用空合并逻辑处理缺失结果,并通过类型无关的处理方式处理值。
Checks if input values meet specific runtime criteria using regular expressions and collection membership.
This library is a header-only C++ framework that performs regular expression evaluation and static string analysis during the compilation phase. By leveraging template metaprogramming and constant expression evaluation, it transforms pattern matching logic into static state machines, effectively shifting the cost of parsing and validation from runtime to build time. The project distinguishes itself by encoding text data directly into the type system, allowing for the validation and extraction of string content before a program ever executes. This approach ensures that regular expression patte
Evaluates pattern matches against strings during the compilation process to validate or transform data before execution begins.
bluemonday is a Go library for scrubbing user-generated HTML content to prevent cross-site scripting and other injection attacks. It functions as an HTML policy engine and sanitizer that removes dangerous scripts and malicious tags by applying configurable element and attribute allowlists. The project distinguishes itself through a rule-based system that utilizes regular expressions and name-based lists to define permitted tags, attributes, and CSS styles. It includes a URL security validator that enforces safe protocols and automatically injects security attributes such as nofollow and noope
Uses regular expression validations to identify and verify permitted element names and attribute values.
This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against defined schema specifications. It functions as a processing utility that parses complex data structures while managing external schema references and circular dependencies. The engine distinguishes itself through an immutable processor design that enables thread-safe, concurrent validation without requiring external synchronization. It employs arbitrary-precision arithmetic to evaluate numeric constraints, preventing common floating-point rounding errors, and utilizes character-l
Applies regular expressions to ensure uniform string validation across different computing environments.