I may write one myself, but I'm a bit nervous about it since Lout has
an awkwardly wide range of ways of indicating the beginnings and ends
You can use look-ahead and look-behind in both the begin and end
patterns in a language grammar.
Clever, clever... I may have a stab at it, then!