Giter VIP home page Giter VIP logo

Comments (2)

xRSquared avatar xRSquared commented on May 30, 2024

@danielroe I have some time this month to contribute, so I plan to work on adding some predefined pieces of regexps.
I'm thinking of the following to start:

  • IPv4
  • IPv6
  • HTTP(S) URLs
  • Phone Numbers
  • Basic email validation
    • As mentioned in #48 , full validation is quite tricky

Usage

I think usage will look something like this:

import { ipv4 } from 'magic-regex/predefined'
  • @danielroe Any other ideas and a better module name would be greatly appreciated.

  • If anyone else has already started working on this, please let me know so we don't duplicate efforts.

P.S. I figured I'd mention this here: I use Python quite a bit, and I like the API of this package. So if time permits, I might make a python package with a similar API to magic-regex - obviously without the compile-time type hinting magic 😆.

from magic-regexp.

danielroe avatar danielroe commented on May 30, 2024

That sounds great to me. And let me know when you've got your Python package up so I can link to it...

from magic-regexp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.