Fix spacing after addresses in double quotes.
Optimize match for leading numeric date.
Этот коммит содержится в:
родитель
341ad1d804
Коммит
84d9703786
@ -30,12 +30,10 @@ while (<CHANGELOG>) {
|
|||||||
s/\s*$//;
|
s/\s*$//;
|
||||||
|
|
||||||
# Make sure there are exactly 2 spaces before the e-mail.
|
# Make sure there are exactly 2 spaces before the e-mail.
|
||||||
s/(^\w.*\w)\s+</$1 </;
|
s/(^\w.*[^\s])\s+</$1 </;
|
||||||
|
|
||||||
# Make sure there are exactly 2 spaces after numeric dates.
|
# Make sure there are exactly 2 spaces after numeric dates.
|
||||||
if (/[0-9]+-[0-9]+-[0-9]+\w/) {
|
s/(^[0-9]+-[0-9-]+)\s+/$1 /;
|
||||||
s/(^[0-9-]+)\s+/$1 /;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Up to 7 spaces and tab or up to 8 spaces -> tab.
|
# Up to 7 spaces and tab or up to 8 spaces -> tab.
|
||||||
if (/^( {1,7}\t| {1,8})(.*)/) {
|
if (/^( {1,7}\t| {1,8})(.*)/) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user