I was trying to create a syntax highlighting for of xml, in particular for strings like:-
<RDF:Description
I tried <|a+:|a+ but this did not work.
I guess because ":" is a separator, although this is not mentioned in the help.
I managed to get it to work by including ":" as an optional string
<|a+|[:]|a+
|
|