From 25e26d771831dbf46711953edf87195c78f38a10 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 11 Aug 2012 14:30:02 -0600 Subject: [PATCH] perlre: Nits This fixes some grammar ("either" legally should refer to only a dual-valued option set) and removes unnecessary distracting detail. --- pod/perlre.pod | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pod/perlre.pod b/pod/perlre.pod index 6bb20e7..6a073ba 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1521,11 +1521,11 @@ Conditional expression. Matches C if C yields a true value, matches C otherwise. A missing pattern always matches. -C<(condition)> should be either an integer in +C<(condition)> should be one of: 1) an integer in parentheses (which is valid if the corresponding pair of parentheses -matched), a look-ahead/look-behind/evaluate zero-width assertion, a +matched); 2) a look-ahead/look-behind/evaluate zero-width assertion; 3) a name in angle brackets or single quotes (which is valid if a group -with the given name matched), or the special symbol (R) (true when +with the given name matched); or 4) the special symbol (R) (true when evaluated inside of recursion or eval). Additionally the R may be followed by a number, (which will be true when evaluated when recursing inside of the appropriate group), or by C<&NAME>, in which case it will @@ -1923,11 +1923,11 @@ is the same as but - / ( A (*THEN) B | C (*THEN) D ) / + / ( A (*THEN) B | C ) / is not the same as - / ( A (*PRUNE) B | C (*PRUNE) D ) / + / ( A (*PRUNE) B | C ) / as after matching the A but failing on the B the C<(*THEN)> verb will backtrack and try C; but the C<(*PRUNE)> verb will simply fail. -- 2.7.4