# Match the opening
(# Now, as many of the following as possible . . .
(?! ?B> ) # If not , and not . . .
. # . . . any character is okay
)* # (now greedy)
# . . . until the closing delimiter can match.
-----------------------------------------------------------------------------
Copyright 1997-2024 Jeffrey Friedl