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

Allow empty default values - solves #19 #20

Merged
merged 1 commit into from
Jan 26, 2016

Commits on Jan 21, 2016

  1. Allow empty default values - solves kreuzwerker#19

    Allow empty default values:
    
    * Change regexp part for parsing default values to allow zero-or-more (so far
      was one-or-more); keep the prefer-less flag
    * Make the regexp part for default value syntax a capturing group: (\:\-)
    * Add an additional "separator" parameter to the capture function to see
      whether the default value separator was used
    * Add a corresponding constant DefaultValueSyntax with the separator value (":-")
    * Change the logic for testing whether a default value was provided to check
      whether the separator is non-empty.
    * TEST: adjust TestCapture accordingly to also handle separator values
    * TEST: test the newly supported empty-default-value syntax in TestFullParseDefaults function
    vladimir-mencl-eresearch committed Jan 21, 2016
    Configuration menu
    Copy the full SHA
    3fea4e8 View commit details
    Browse the repository at this point in the history