On 7 May 2026, at 9:29, Neil Faiman wrote: > Well, at least I read the fine manual and saved myself the humiliation of > publicly asking whether there was a way to selectively search in the set of > files that matched a previous multi-file search. (Of course there is. Just > select the previous search results from the “Results Browsers” list in the > “Search in:” chooser.) > > But I couldn’t find this one in the manual. I have a bunch of HTML files. > Some of them have multiple <section> elements. I want to add a property to > the first <section> tag in each file. I.e., before
According to the user manual, on page 205 there's a list of positional assertions, one of which is "\A" which matches the beginning of the file. So, you could probably use something like "\A.+?<section" to find the beginning of the first `<section` to occur in the file, and go from there. R. -- Rich Siegel Bare Bones Software, Inc. <[email protected]> <https://www.barebones.com/> Someday I'll look back on all this and laugh... until they sedate me. -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/bbedit/E8D71344-C1ED-4208-8F25-D32B3835FDD6%40barebones.com.
