Skip to content

Suggestions and ImprovementsΒ #56

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions