Comments (3)
I like the idea of predefined expressions, some commons ones would definetly speed things up.
Also, I think, that specification/API is needed if we want to keep ports synchronized, otherwise we'll end up doing things differently (by means of API/methods etc) in different ports.
from csharpverbalexpressions.
A spec is good, a simple listing of words and corresponding regex would be good as well. I'd actually opt for a general structure per name to look at rather than a whole host of functions (prefer second example over first).
Where each function can simply be overloaded to take a constant structure that defines the regex. That way you could keep the same amount of functions, but just add functionality to a list containing things like email, phone number, etc. It would be easier to extend and keep the api interface a bit simpler.
What I think would be ideal is a general structure that can be used in any function, and each function can just obey its rules rather than a giant switch statement per function, however I think that is solely in the hands of the implementers per port.
Some ones I'd like to see:
- phone
- url
- date
- ip address
- rgb color hex value
- decimal number
- time format
from csharpverbalexpressions.
Moved the default regex issue to the general implementation project:
VerbalExpressions/implementation#5
from csharpverbalexpressions.
Related Issues (20)
- Feature Suggestion: .verbex files in project -> Compiled Regex via custom tool
- missing unit test code coverage HOT 4
- Opening with VS 2010 HOT 3
- VerbalExpression Performance Question HOT 13
- Change the namespace HOT 4
- Ranges cause invalid Regex
- AnythingBut followed by a Maybe should be ignored
- Not available via NuGet HOT 2
- Help!
- NuGet package out of date? HOT 1
- Matching syntax
- Verbal Expression builder - IDE add-on or website HOT 4
- Honourable mention HOT 2
- Can you push the latest version to NuGet? Thanks! HOT 1
- Nuget Package HOT 1
- Implementáld az IEquatable<Key>-t HOT 1
- Suggestions and Improvements
- Alternative? HOT 3
- New release to nuget
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharpverbalexpressions.