mbasso / natural-regex Goto Github PK
View Code? Open in Web Editor NEWCreate regex from natural language
License: MIT License
Create regex from natural language
License: MIT License
General Information
Description
Most of the users are used to writing regex and due to its legacy there is lot of code already written in regex syntax (be it any language of choice). With that said, it will be great if we can have a converter that can convert from regex expression to natural regex, that way a library of regex can be used and an index can be generated which can then be used across the code. Kind of similar to webpack's index within the final bundled file (if I am clear with the comparison).
That way the existing code can be converted into Natural regex improving its readability (which I believe is one of the important motivations of this project). While that is done, users might tend to move towards natural regex.
I will try to experiment a converter.
If there is already one, please comment.
Hoping if I can contribute.
General Information
Description
Is there a way to express negation --> not end with js or similar?
(Add images if possible)
Steps to reproduce
(Add link to a demo on https://jsfiddle.net or similar if possible)
Versions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.