cvs: php-lang / Language_Notation.txt

From: Date: Fri, 17 Nov 2000 22:59:17 +0000
Subject: cvs: php-lang / Language_Notation.txt
Groups: php.lang 
Request: Send a blank email to php-lang+get-13@lists.php.net to get a copy of this message
sas Fri Nov 17 14:59:17 2000 EDT Modified files: /php-lang Language_Notation.txt Log: I don't like to type too much Index: php-lang/Language_Notation.txt diff -u php-lang/Language_Notation.txt:1.3 php-lang/Language_Notation.txt:1.4 --- php-lang/Language_Notation.txt:1.3 Fri Nov 17 12:24:53 2000 +++ php-lang/Language_Notation.txt Fri Nov 17 14:59:17 2000 @@ -1,4 +1,4 @@ -Language Notation ($Date: 2000/11/17 20:24:53 $) +Language Notation ($Date: 2000/11/17 22:59:17 $) Non-terminals: Syntactic categories Terminals: Literal words and character set members, @@ -6,9 +6,11 @@ A colon (:) following a nonterminal introduces its definition. Alternative definitions are listed on separate - lines, except when prefaced by the words "one of". An - optional symbol is indicated by enclosing the symbol in - brackets ([]). + lines, except when prefaced by the words "one of" or the word + "matching". An optional symbol is indicated by enclosing the + symbol in brackets ([]). A definition which is prefaced by + the word "matching" is to be expanded as if the definition + would be a character class of a regular expression. Examples: @@ -23,6 +25,11 @@ octal-digit: one of '0' '1' '2' '3' '4' '5' '6' '7' + + The next example is equivalent to the prior one. + + octal-digit: matching + 0-7 Rationale: The above description and examples were derived from ISO C99. The excerpts have been modified to

« previous php.lang (#13) next »