'bre vs. ere' is terminology i wasn't familiar with, though i've often tripped over the differences: https://www.gnu.org/software/sed/manual/html_node/BRE-vs-ERE...
iirc mit teco used control characters for its regexp metacharacters to diminish this particular problem