5 个仓库
Validates that a string contains only characters from a specified set, such as alphabetic, numeric, ASCII, or alphanumeric.
Distinct from Format String Validators: Distinct from Format String Validators: focuses on character-level content validation (e.g., only letters or digits) rather than verifying format specifier syntax.
Explore 5 awesome GitHub repositories matching development tools & productivity · Character Set Validators. Refine with filters or upvote what's useful.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Tests whether a string contains only characters of a certain type, such as alphabetic, numeric, or ASCII.
shortid 是一个用于创建紧凑、非顺序字符串的库,用作数据库记录和公共 URL 的唯一标识符。它作为一个 URL 友好的标识符实用程序,旨在生成短小的字母数字字符串。 该项目允许使用自定义字母表来控制标识符的视觉外观并避免歧义。这种自定义字符集映射确保生成的键满足特定的格式或品牌要求。 该系统包含用于非顺序键生成以防止资源枚举的功能,以及用于验证给定字符串是否符合预期标识符格式和字符集的工具。
Provides the ability to specify the exact set of characters used to build identifiers for specific requirements.
这是一个 PHP 兼容性库,为原生 ctype 扩展提供了 Polyfill。它作为一个可移植性层,实现了缺失的核心语言函数,以确保跨不同服务器环境和 PHP 版本的一致行为。 该库专注于字符类型验证,使用纯 PHP 代码重现原生扩展函数的行为。它使用运行时环境检测来识别原生扩展是否缺失,并将回退实现直接注入全局命名空间,以防止冲突并保持代码的可移植性。
Provides a comprehensive set of tools for validating character types across diverse hosting platforms.
TinyPinyin 是一个兼容 Java 和 Android 的库,用于将汉字转换为拼音。它提供了汉字检测工具,可识别文本是否属于汉字书写系统。 该库包含一个多音字解析器,通过上下文分析确定多音字的正确读音。它专为移动设备上的低内存占用而设计。
Implements range-based checks to validate if characters belong to the Chinese writing system.
Locutus is a multi-language utility library and polyfill collection written in TypeScript. It provides a comprehensive set of implementations for standard library functions from various programming languages, enabling developers to use familiar semantics and behaviors across different technical environments. The library functions as a cross-language standard library, porting core logic and utilities from diverse languages into a type-safe TypeScript toolset. It focuses on maintaining consistent behavior through a polyfill-based design that replicates the original functionality of these foreig
Provides validators to check if strings consist of specific character sets like alphanumeric or digits.