Index: ossp-pkg/cfg/cfg.pod RCS File: /v/ossp/cvs/ossp-pkg/cfg/cfg.pod,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/cfg/cfg.pod,v' 2>/dev/null --- cfg.pod 2002/07/03 13:25:34 1.1 +++ cfg.pod 2002/07/06 12:23:43 1.2 @@ -64,6 +64,7 @@ B ::= B # double quoted string | B # single quoted string + | B # flexible quoted string | B # plain text string The other contained terminal symbols are defined itself by the following @@ -82,9 +83,10 @@ | B B B ::= /\\"/ # escaped quote - | /\\x[0-9a-zA-Z]{2}/ # hexadecimal char + | /\\x\{[0-9a-fA-F]+\}/ # hex-char group + | /\\x[0-9a-fA-F]{2}/ # hex-char | /\\[0-7]{1,3}/ # octal character - | /\\[trn]/ # TAB, CR, NL + | /\\[nrtbfae]/ # NL,CR,TAB,BS,FF,BEL,ESC | /\\\n[ \t]*/ # line continuation | /\\\\/ # escaped escape | /./ # any other char @@ -99,6 +101,21 @@ | /\\\\/ # escaped escape | /./ # any other char +B ::= /q/ B B B + +B ::= I + | B B + +B ::= /\\/ B # escaped open + | /\\/ B # escaped close + | /\\\n[ \t]*/ # line contination + | /./ # any other char + +B ::= /[!"#$%&'()*+,-./:;<=>?@\[\\\]^_`{|}~]/ + +B ::= "B or corresponding closing char + ('}])>') if B is a char of '{[(<'" + B ::= B B B ::= I @@ -121,6 +138,12 @@ B ::= /#[^\n]*/ +Finally, any configuration line can have a trailing backslash character +(C<\>) just before the newline character for simple line continuation. +The backslash, the newline and (optionally) the leading whitespaces on +the following line are silently obsorbed and as a side-effect continue +the first line with the contents of the second lines. + =head2 CONFIGURATION EXAMPLE A more intuitive description of the configuration syntax is perhaps given by