![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
regex-vault
Advanced tools
regex-vault is a centralized library of regular expressions for validation, security, and efficient data manipulation.
For the English version of this README, click here.
regex-vault é uma biblioteca centralizada de padrões regex projetada para economizar tempo de desenvolvimento e garantir reutilização. Este projeto visa simplificar processos de validação, proteger operações de backend e tornar a implementação de regex mais fácil para desenvolvedores. Ele inclui uma ampla variedade de padrões regex para validação de entrada, segurança e manipulação de dados.
Instale regex-vault via npm:
npm install regex-vault
Importe os padrões regex ou funções utilitárias no seu projeto:
import { emailRegex, ipv4Regex } from 'regex-vault';
// Validar um e-mail
const email = "example@domain.com";
if (!emailRegex.test(email)) {
console.log("E-mail inválido");
}
// Validar um endereço IPv4
const ip = "192.168.1.1";
if (ipv4Regex.test(ip)) {
console.log("Endereço IPv4 válido");
}
A biblioteca inclui muitos outros padrões regex úteis para diferentes finalidades, garantindo flexibilidade e segurança no uso de expressões regulares.
Contribuições são bem-vindas! Se você tiver um padrão regex útil, sinta-se à vontade para abrir um pull request ou relatar um problema.
git clone <forked-repo-url>
).git checkout -b feature/minha-nova-regex
).git commit -m 'Adicionar nova regex para XYZ'
).git push origin feature/minha-nova-regex
).A biblioteca inclui testes unitários para garantir a precisão de todos os padrões regex. Execute os testes com:
npm test
regex-vault é licenciado sob a Apache License. Veja o arquivo LICENSE ou visite Apache License 2.0.
FAQs
regex-vault is a centralized library of regular expressions for validation, security, and efficient data manipulation.
We found that regex-vault demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.