I'm revising old CSS, and am trying to use the Automate List to replace old css with the new. One such example is replacing:
Code:
hr {
border: 0;
background-color: #000000;
height: 4px;
width: 85%;
}
with
Code:
hr {
border: 0;
background-color: #000000;
height: 4px;
width: 85%;
}
hr.hrsep {
border: 0;
background-color: #000000;
height: 1px;
width: 4em;
margin-top: 0.75em;
margin-bottom: 0.75em;
}
If I do a "Current File" search for the first term, I get the match as desired, but if I try to automate it, it returns no matches (and therefore makes no replacements).
But other similar searches DO work... for example replacing
Code:
.calibre {[\s.\w\p{P}]+?
}
with
Code:
.calibre {
display: block;
font-family: serif;
font-size: 1em;
line-height: 1.1;
margin-bottom: 0;
margin-left: 2pt;
margin-right: 2pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
page-break-before: always;
text-align: justify;
}
p {
display: block;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
line-height: 1.15em;
}
Any ideas?