diff options
author | Yves Orton <demerphq@gmail.com> | 2006-11-06 14:06:28 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-07 10:21:25 +0000 |
commit | e2e6a0f1870d05ddb1ce18fd8556b71330dc694c (patch) | |
tree | 567ec172976f421f30d2eccf9516cf6cbc1c9914 /pod/perldiag.pod | |
parent | 9c6bc640227cd4fa081b32554378abe794cacfc0 (diff) | |
download | perl-e2e6a0f1870d05ddb1ce18fd8556b71330dc694c.tar.gz |
New regex syntax omnibus
Message-ID: <9b18b3110611060406u2fa1572as57073949a5df9e62@mail.gmail.com>
Plus a portability fix (in string comparison for regex verbs)
and doc tweaks / podchecker fixes
p4raw-id: //depot/perl@29222
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index c20b0602c2..e9d23267bd 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4291,6 +4291,13 @@ category that is unknown to perl at this point. Note that if you want to enable a warnings category registered by a module (e.g. C<use warnings 'File::Find'>), you must have imported this module + +=item Unknown verb pattern '%s' in regex; marked by <-- HERE in m/%s/ + +(F) You either made a typo or have incorrectly put a C<*> quantifier +after an open brace in your pattern. Check the pattern and review +L<perlre> for details on legal verb patterns. + first. =item unmatched [ in regex; marked by <-- HERE in m/%s/ @@ -4412,6 +4419,17 @@ character to get your parentheses to balance. See L<attributes>. compressed integer format and could not be converted to an integer. See L<perlfunc/pack>. +=item Unterminated verb pattern in regex; marked by <-- HERE in m/%s/ + +(F) You used a pattern of the form C<(*VERB)> but did not terminate +the pattern with a C<)>. Fix the pattern and retry. + +=item Unterminated verb pattern argument in regex; marked by <-- HERE in m/%s/ + +(F) You used a pattern of the form C<(*VERB:ARG)> but did not terminate +the pattern with a C<)>. Fix the pattern and retry. + + =item Unterminated <> operator (F) The lexer saw a left angle bracket in a place where it was expecting @@ -4807,6 +4825,16 @@ anonymous, using the C<sub {}> syntax. When inner anonymous subs that reference variables in outer subroutines are created, they are automatically rebound to the current values of such variables. +=item Verb pattern '%s' has a mandatory argument in regex; marked by <-- HERE in m/%s/ + +(F) You used a verb pattern that requires an argument. Supply an argument +or check that you are using the right verb. + +=item Verb pattern '%s' may not have an argument in regex; marked by <-- HERE in m/%s/ + +(F) You used a verb pattern that is not allowed an argument. Remove the +argument or check that you are using the right verb. + =item Version number must be a constant number (P) The attempt to translate a C<use Module n.n LIST> statement into |