gnidan/solregex
Regex compilation to Solidity
This tool helps blockchain developers create Solidity smart contracts that can validate text inputs using regular expressions. You provide a regular expression, and it outputs a Solidity source file. This is for developers building decentralized applications on platforms like Ethereum who need to perform pattern matching on strings within their smart contracts.
No commits in the last 6 months. Available on npm.
Use this if you need to check if a string matches a specific pattern directly within a Solidity smart contract, like validating email addresses or Ethereum addresses.
Not ideal if you need advanced regex features like capturing groups, backreferences, multi-line matching, or extensive Unicode support, or if you need to match very long patterns with numeric quantifiers.
Stars
54
Forks
6
Language
TypeScript
License
MIT
Category
Last pushed
Nov 29, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/gnidan/solregex"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
retejs/rete-studio
A general-purpose code generation tool powered by Rete.js
chrishoermann/zod-prisma-types
Generator creates zod types for your prisma models with advanced validation
microsoft/ts-gyb
Generating native code interfaces from TypeScript
evoluteur/evolutility-ui-jquery
Model-driven Web UI for CRUD using REST or localStorage.
unjs/knitwork
🧶 Utilities to generate safe JavaScript code.