git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197356
13f79535-47bb-0310-9956-
ffa450edef68
# Slurp the input file
$_ = <>;
-s|\n # Start with a newline
- [^\n]*=+\s+ # Non-newlines followed by multiple '='
+s|[^\n]*=+\s+ # Non-newlines followed by multiple '='
# ...followed by whitespace (incl. newline)
[^\n]* # Non-newlines (incl spaces)
The\ Apache\ Software\ License,\ Version\ 1\.1
James\ Tauber
.* # Anything
\<http://www.apache.org/\>\.
- \s+ # Any whitespace
+ \s*\n # Any whitespace ending in a newline
|$lic2begin$1$lic2rem|xs;
print;
# Slurp the input file
$_ = <>;
-s|\n # Start with a newline
- [^\n]*=+\s+ # Non-newlines followed by multiple '='
+s|[^\n]*=+\s+ # Non-newlines followed by multiple '='
# ...followed by whitespace (incl. newline)
[^\n]* # Non-newlines (incl spaces)
The\ Apache\ Software\ License,\ Version\ 1\.1
James\ Tauber
.* # Anything
\<http://www.apache.org/\>\.
- \s+ # Any whitespace
+ \s*\n # Any whitespace ending in a newline
|$lic2begin$1$lic2rem|xs;
print;