Richard Owlett <rowlett@xxxxxxxxxx> writes: >>> I wish to write macros using ERE's[1] to make my project feasible. >> >> This is not possible: > > Clarification: > I'm unsure of explicitly "This" refers to. > ... > I was referring to the general concept of an ERE, not an implementation. Ah I'm sorry, rereading my email shows that it was a bit unclear on some parts. I meant that the exact ERE syntax of sed that you linked to is not necessarily possible. In general, the regex of KATE is quite powerful, so if you want some form of extended regexps, I think that you're good. >> [0] https://docs.kde.org/stable5/en/kate/katepart/regex-patterns.html >> [1] https://gutenberg.org/ebooks/1727 > ^ > +--- *????* my post was: > https://www.gnu.org/software/sed/manual/html_node/ERE-syntax.html My search/replace example was about this book, but I forgot to add that. > You've given me a homework assignment. KATE's regexp syntax is very similar to others, so I think that if you find a good body of documentation for regexps, you can probably extend it quite easily to KATE. Alternatively, feel free to give a couple of examples of what you want replaced, if you want to have some more examples.