This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlop pod inconsistent in presentation of regexp options
authorM.J.T. Guy <mjtg@cus.cam.ac.uk>
Fri, 5 Sep 1997 00:00:00 +0000 (00:00 +0000)
committerTim Bunce <Tim.Bunce@ig.co.uk>
Thu, 4 Sep 1997 12:00:00 +0000 (00:00 +1200)
commitb7e30b65e77616e7336a6cda54d9c3d5935d0cfc
tree9f7ad25a5719a6609156a8b4807fac71fceae3c2
parent3b93f881ad0c1760299956b68c3750a683e7952b
perlop pod inconsistent in presentation of regexp options

ts <decoux@moulon.inra.fr> wrote
> man perlop :
>
>            entry in the perlfunc manpage.)  A failed match
>            normally resets the search position to the beginning
>            of the string, but you can avoid that by adding the
>            "c" modifier (e.g. m//gc).  Modifying the target
>            string also resets the search position.

Doh!   Didn't see that.  My excuse is that a search for "/c" doesn't find
it.    And since all other modifiers are referred to as C</g> etc, I
submit the following micropatch.

Credited: Hans Mulder <hansm@icgned.nl>
Credited: John Redford <jmr@whirlwind.fmr.com>

p5p-msgid: E0wwnqc-00057s-00@ursa.cus.cam.ac.uk
pod/perlop.pod