Thanks for all the quick replies.
phspaelti wrote:What part of this result is bothering you? You are getting exactlly the result you should be getting. Is something not working?
I should have mentioned that the macroized version does not work.
Martin wrote:Probably you pasted the macroized code into a document and it took on some ambient attributes.
I am not pasting anything anywhere, I am clicking on "Macroize" ->"Save as Macro"-> then saving. If it is being pasted into a paragraph style it is by the program itself.
I should also mention that performing the same steps using font face bold will not macroize properly either.
Here is my entire macro that I use repeatedly for one of our clients. Each line was inserted using the macroize feature without fail, except the most basic one at the top.
Find and Replace '.+', '<cstyle:Italic>\\0<cstyle:>', 'EauU'
Find and Replace ' \n', '\n', 'Ea'
Find and Replace '(.+[[:digit:]]\\n)(.+\\n)\\n(.+\\n)\\n(.)', '\\1<pstyle:Devo Title>\\3<pstyle:Devo Todays>\\2<pstyle:Devo Scripture Left>\\4', 'Ea'
Find and Replace '(scripture left>.+)(\\n\\n)', '\\1\\n<pstyle:Text1>', 'Ea'
Find and Replace '(Text1>.+\\n)', '\\0<pstyle:Text2>', 'Ea'
Find and Replace '(scripture left>.+)(\\–)', '\\1\\n', 'Ea'
Find and Replace '(<cstyle:Italic>)(\\x0C)(<cstyle:>)', '\\2', 'Ea'
Find and Replace '([[:upper:]].+)(\\,\\s)(.+)(\\s)([[:digit:]]+)(\\,\\s)([[:digit:]][[:digit:]][[:digit:]][[:digit:]])', '<pstyle:Day>\\1\\n<pstyle:Devo Date>\\3\\n<pstyle:Date Number>\\5', 'Ea'
Find and Replace '\\n\\nPrayer\\:\\n', '\\n<pstyle:Devo Prayer>Prayer\\n<pstyle:Devo PrayerSection>', 'Ea'
Find and Replace '(PrayerSection>.+\\n)(\\n<cstyle:Italic>)', '\\1<pstyle:Devo Prayer2>', 'Ea'
Find and Replace '(Text1>)((?:\\b\\w+\\b)\\s(?:\\b\\w+\\b)\\s)', '\\1<cstyle:caps>\\2<cstyle:>', 'Ea'
ExportAsUNICODE-MAC
I have edited the macro file using the "remove attributes and styles" feature, then reapplied the italic font face to the .+ to no avail. So I don't think it is a paragraph style issue. One thing I cannot do while editing the macro file is select "any font size" or "remove font size attribute" as it is grayed out.
Have any of you tried to duplicate this problem? Obviously it has something to do with the attributes, if I remove the "u from the search parameters it finds everything.
Thanks for your help.
Duff