Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions and Improvements #56

Open
ghost opened this issue May 10, 2018 · 0 comments
Open

Suggestions and Improvements #56

ghost opened this issue May 10, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented May 10, 2018

Hi, I admire your work, and these are some suggestions:
1- Add "Const" as another name to "Then"
2- Add another overload to AnyOf that accepts Char Array, because it's more friendly.

 public VerbalExpressions AnyOf(char[] value, bool sanitize = true)
        {
            if (value == null)
                throw new ArgumentNullException("value");

            return AnyOf(string.Join ("", value));
        }

3- Range Method can be more friendly like this:
Range(char start, char end);
Range(int start, int end);

4- A Repeat(string Valuem, int min, int max) will be useful , and A Repeat(VerbalExpressions expr, int min, int max ) will be more friendly than BeginCapture/EndCapture/RepeatPrevious, besides RepeatPrevious(int min, int max)

5- Need some methods without parameters such as Letter(), UpperCaseLetter(), LowerCaseLetter(), Digit(), Boundry() and other famous formulas.

6- All Repetition methods needs optional param. for laziness.

5- Where Are LookAhead(), LookBehind( ), Atomic(VerbalExpressions Exp1)?

7- Add If(VerbalExpressions expr, VerbalExpressions expr1, VerbalExpressions expr2) to imo;ement regex conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants