SandroGrzicic/ScalaBuff — pull request #42 by davidharcombe (2013-05-16 15:01:55+00:00)
Title: Fix inability to set negative values for integer fields

Essentially just add an optional leading "-" sign to the regular expressions used in the PackratParsers to allow negative numbers in integer defaults. (We need this, since we have a message defining a TTL for Redis, and "-1" means "do not expire").

Add tests to check this.

Additionally, a "positive integer" matcher (fieldId) had to be created to ensure the field number cannot now be negative!