c:\@Work\Perl\monks>perl -wMstrict -le "my $path = 'XX.YY.ZZ'; my ($ignore) = map qr{ (?: $_) (?! [[:alpha:]]) }xms, join q{ | }, qw(if while for) ; ;; my $s = '(ABC | (~dEf & hIJ)) & ~LMn if form while i'; ;; my $expected = '(XX.YY.ZZ.ABC | (~XX.YY.ZZ.dEf & XX.YY.ZZ.hIJ)) & ~XX.YY.ZZ.LMn if XX.YY.ZZ.form while XX.YY.ZZ.i'; print qq{expected: '$expected'}; ;; $s =~ s{ (?