14 个仓库
Utilities for verifying strings against regular expression patterns.
Distinct from String Format Validators: Focuses on arbitrary regex patterns and capture groups rather than a fixed set of standard formats like emails.
Explore 14 awesome GitHub repositories matching web development · String Pattern Validators. Refine with filters or upvote what's useful.
qwerty-learner is an English typing tutor and vocabulary learning tool designed to combine word memorization with muscle memory training. It functions as a study system for mastering academic and professional word lists through active typing and repetition to improve spelling speed and accuracy. The software utilizes a chapter-driven workflow that progresses from vocabulary introduction to active typing and final dictation. It enables the study of specialized terminology for professional fields or academic exams using curated word lists and targeted typing exercises. The system provides real
Compares user input streams against predefined vocabulary strings to verify spelling accuracy.
Stylelint 是一个用于 CSS 和类样式语言的静态代码分析工具和 Linter。它识别错误、强制执行编码约定,并作为 PostCSS 插件在构建流水线期间验证样式表。 该项目通过支持非标准语法脱颖而出,包括用于 SCSS 和 Less 的预处理器解析,以及提取和 Linting 来自 JavaScript、HTML 和模板字面量中嵌入样式的能力。它具有一个自动化修复系统,可程序化地纠正可修复的样式违规以确保一致性。 该系统提供了一个用于创建自定义规则、语法和格式化程序的插件架构。它涵盖了广泛的质量保证能力,包括防止弃用语法、选择器特异性验证以及强制执行命名模式和样式约定。配置通过支持可共享预设和文件特定覆盖的级联合并逻辑进行管理。 该工具可通过命令行界面、程序化 API 和各种编辑器集成进行访问。
Validates class and ID selectors against defined regular expression patterns to enforce naming conventions.
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 strings using regular expressions, including support for typed capture groups.
Hamcrest PHP is a declarative assertion framework and matcher library used for unit testing in PHP. It provides a set of flexible matchers to verify object states, data types, and collection contents. The library includes specialized tools for XML verification using XPath expressions to analyze document structures and element content. It also allows for the creation of complex validation rules by combining multiple independent matchers through logical operators. The framework covers a broad range of validation primitives, including string content inspection, numeric comparison, and object pr
Provides utilities for verifying PHP strings against regular expression patterns, substrings, and equality.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Verifies that strings match regular expression patterns.
shortid 是一个用于创建紧凑、非顺序字符串的库,用作数据库记录和公共 URL 的唯一标识符。它作为一个 URL 友好的标识符实用程序,旨在生成短小的字母数字字符串。 该项目允许使用自定义字母表来控制标识符的视觉外观并避免歧义。这种自定义字符集映射确保生成的键满足特定的格式或品牌要求。 该系统包含用于非顺序键生成以防止资源枚举的功能,以及用于验证给定字符串是否符合预期标识符格式和字符集的工具。
Checks if input strings strictly adhere to the defined character alphabet and length using patterns.
Super-expressive 是一个零依赖的 JavaScript 库和领域特定语言,用于构建复杂的正则表达式。它作为一个模式生成器,使用自然语言语法来生成原生的正则表达式对象或字符串,并通过 Unicode 属性匹配支持国际文本标准。 该库用方法链式的流畅接口取代了手动字符串操作和转义。它允许模块化表达式组合,实现可重用的模式层级,其中现有的表达式实例可以作为子表达式嵌套。 该工具涵盖了广泛的匹配原语,包括锚点约束、捕获组、量词和环视断言。它还提供了用于字符类和集合定义的实用程序,以及配置全局匹配标志(如不区分大小写和多行模式)的功能。
Enables the definition of precise patterns for verifying that input strings follow specific required formats.
Monitoror 是一个统一的监控墙板和系统状态仪表板,旨在聚合来自多个服务器、服务和依赖项的实时健康和状态数据。它作为一个正常运行时间(uptime)监控聚合器,以及用于可视化各种基础设施组件状态的集中式界面。 该项目以其可自定义的基于网格的布局系统而著称,该系统使用坐标系组织监控磁贴。它支持多端点提供程序映射,允许将单个服务类型链接到多个不同的服务器实例,以追踪不同的安装。 该系统涵盖了多个可观测性领域,包括通过 Ping 延迟和 TCP 端口检查的网络健康状况,以及使用模式匹配健康验证的 HTTP 端点验证。它还追踪版本控制和自动化指标,例如 GitHub 问题计数以及持续集成流水线和拉取请求检查的进度。 该仪表板利用基于提供程序的数据获取模型和基于轮询的状态更新来维护当前状态视图。
Verifies endpoint health by validating response bodies against regular expression patterns.
Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an embeddable scripting engine. It functions as a fiber-based concurrency runtime and includes a parsing engine based on Parsing Expression Grammars. The project is distinguished by its ability to be integrated into C or C++ applications via a minimal header interface. It utilizes a Lisp-style macro system for compile-time code transformation and employs prototype-based table inheritance for object-oriented behavior. The runtime covers a broad set of capabilities, including asynchronous
Checks if a string consists exclusively of bytes from a specified set.
v8n 是一款 JavaScript 数据验证库,用于验证值、对象和数组是否符合特定标准。它作为一个基于模式的验证器和异步验证引擎,利用流畅的 API 构建可链式调用的规则和约束序列。 该框架因其能够在验证过程中执行 Promise 和网络请求以确定值是否有效而脱颖而出。它允许创建可重用的验证模式,并提供了一个可自定义的规则框架,用户可以在其中定义自己的逻辑并配置如何返回错误结果。 该库涵盖了广泛的验证功能,包括针对原始类型和原型的数据类型验证、通过正则表达式和字符集的字符串内容验证,以及数值约束。它还支持复杂的对象验证、集合和数组元素验证,以及用于反转规则或处理可选值的条件逻辑。 该系统专为详细的错误收集而设计,根据每个定义的规则评估值,以收集完整的失败列表,而不是在第一个错误处停止。
Verifies string properties such as case, character sets, regex patterns, and specific start or end characters.
mobile-detect.js 是一个用于用户代理检测的 JavaScript 库。它分析浏览器请求头以识别硬件类型、操作系统和浏览器版本。 该库包含一个客户端硬件分析器,根据移动设备的特性为其分配性能和功能等级。它还提供了根据检测到的硬件将特定 CSS 类应用于文档主体的工具,以实现响应式样式。 该项目涵盖了广泛的分析功能,包括手机、平板电脑和台式机的检测。它提取操作系统名称和版本号,并根据已知模式验证浏览器签名。
Provides utilities for verifying user agent strings against custom regular expression patterns.
This is a Rust regular expression library that provides a finite automata engine for searching and matching text patterns. It functions as a Unicode-compliant text scanner designed to guarantee linear time execution on all inputs to prevent catastrophic backtracking. The engine supports both single and multi-pattern search capabilities, allowing it to scan a piece of text for multiple regular expressions simultaneously. It operates on both strings and raw byte slices to identify matching text segments. The library covers text parsing, string validation, and pattern searching. It includes cap
Allows verifying that text follows complex rules and formats using arbitrary regular expression patterns.
Scriban 是一个 .NET 文本模板引擎和嵌入式脚本语言,用于动态文本生成。它作为一个抽象语法树 (AST) 操作工具和模板解析器,允许将脚本转换为可遍历的树结构,以便进行分析、修改和渲染。 该引擎专为 Native AOT 兼容性而设计,利用无反射 API 在裁剪后的环境中执行模板。它还为 Liquid 模板提供了专门的解析器和转换系统,支持在 .NET 中迁移和执行 Liquid 脚本。 该项目涵盖了广泛的功能,包括用于安全运行脚本的沙箱代码执行,以及用于数据转换的管道系统。它包含用于操作字符串、数组、日期和数学运算的全面工具,并支持 JSON 数据转换和正则表达式。 开发者可以通过自定义函数绑定、对象集成和可自定义的成员名称映射来扩展引擎功能。
Checks if a string is empty, contains specific sequences, or matches patterns.
Scriban 是一个用于动态文本生成的文本模板库和 .NET 脚本引擎。它既是一个模板处理器,也是一个安全的脚本沙箱,通过限制对象暴露来提供安全的执行环境,从而防止未经授权的代码执行。该项目还包含一个抽象语法树模板解析器,支持对模板进行程序化分析和修改。 该引擎内置了专门的 Liquid 模板引擎及兼容模式,能够解析、执行并转换以 Liquid 语法编写的模板。其独特之处在于成员暴露过滤系统,允许开发者重命名、隐藏或过滤对象属性,从而控制模板内的数据访问方式。 该库涵盖了广泛的功能,包括异步模板渲染、条件逻辑和集合迭代。它提供了用于数据操作的内置工具,如数学运算、JSON 转换、日期时间算术,以及基于正则表达式的强大文本处理功能。开发者还可以通过定义自定义函数和集成外部类来进一步扩展引擎功能。 该项目提供了一个安全的 API 接口,支持通过 Native AOT 发布为原生二进制文件。
Checks if a string is empty, contains specific characters, or contains a substring.