On Mar 23, 5:35 am, Roland Küffner <[email protected]> wrote: > > To come up with a quick and dirty grep solution: > > Search: > (<span.+?>.+?)(<.+>) > Replace: > \1</span>\2 > > this pattern might misbehave on certain circumstances: > - it assumes that the opening span tags contain arguments > - it assumes that each line has a tag at it's end
Thank you Roland. That does exactly what I need and complies with the correct assumptions. Rob PS I do also have a clipping which works on one pre-selected line at a time, but depending on the complexity of the poem, I sometimes find it far easier to insert the opening span by manually copying and pasting and then close all the spans after. The results of all this effort can be found at www.jottings.ca/john/voices/reservoir1.html I expect poetry coding to be well served by XHTML v4.1 and CSS5, in about 2025. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. To unsubscribe from this group, send email to bbedit+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
