Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
&!<lwsp> disables & until EOL (and then disappears)
&!<lwsp> disables & until EOL (and then disappears)
+&# delete everything to end of line
+ (useful if the RHS contains unrecognise & constructions)
+
&!STUFF
changes the escape sequence from & to literally STUFF
STUFF may be any series of of non-whitespace characters,
&!STUFF
changes the escape sequence from & to literally STUFF
STUFF may be any series of of non-whitespace characters,
s{(?<=[ \t])(?=\S)(?!\\\s*$)}{$prefix}g;
o $_;
$_ = $after;
s{(?<=[ \t])(?=\S)(?!\\\s*$)}{$prefix}g;
o $_;
$_ = $after;
+ } elsif (s{^\#}{}) {
+ $_ = '';
} elsif (s{^![ \t]+}{}) {
o $_;
$_ = '';
} elsif (s{^![ \t]+}{}) {
o $_;
$_ = '';