On Wed, Dec 26, 2001 at 07:56:59PM +0100, Bart Lateur wrote: > On Wed, 26 Dec 2001 17:34:43 +0100 (MET), Louis Pouzin wrote: > > >On Sun, 23 Dec 2001 04:21:26 +0100, Bart Lateur wrote: > > > >> (?s:(.*?3)) > >>instead. > > > >I had tried that, to no avail. The interpreter croaks: > ># Sequence (?:...) not recognized. > > > >It's version 5.20r4. Is there a package that should be called ? > > It works on perl 5.6.1, no need to load anything extra. It really ought > to work in the newer MacPerl beta as well, though I haven't tested it. > :-/ >
The (?ismx-ismx:RE) syntax was added in perl5.005. MacPerl 5.20r4 was built from perl5.004. perl5.004 does support the (?ismx) syntax, which affects the whole pattern. Ronald