lib/citrus.rb in citrus-1.2.0 vs lib/citrus.rb in citrus-1.2.1

- old
+ new

@@ -2,11 +2,11 @@ # elegance and expressiveness of the language with the simplicity and power of # parsing expression grammars. # # http://github.com/mjijackson/citrus module Citrus - VERSION = [1, 2, 0] + VERSION = [1, 2, 1] Infinity = 1.0 / 0 autoload :File, 'citrus/file' @@ -623,11 +623,11 @@ end end # An AndPredicate is a Predicate that contains a rule that must match. Upon # success an empty match is returned and no input is consumed. The Citrus - # notation is any expression preceeded by an ampersand, e.g.: + # notation is any expression preceded by an ampersand, e.g.: # # &expr # class AndPredicate include Predicate @@ -644,11 +644,11 @@ end end # A NotPredicate is a Predicate that contains a rule that must not match. Upon # success an empty match is returned and no input is consumed. The Citrus - # notation is any expression preceeded by an exclamation mark, e.g.: + # notation is any expression preceded by an exclamation mark, e.g.: # # !expr # class NotPredicate include Predicate @@ -706,10 +706,10 @@ # asterisk, followed by another integer, +M+, all of which follow any other # expression, e.g.: # # expr N*M # - # In this notation +N+ specifies the minimum number of times the preceeding + # In this notation +N+ specifies the minimum number of times the preceding # expression must match and +M+ specifies the maximum. If +N+ is ommitted, # it is assumed to be 0. Likewise, if +M+ is omitted, it is assumed to be # infinity (no maximum). Thus, an expression followed by only an asterisk may # match any number of times, including zero. #