Thank you for contacting Syncfusion support.
This requirement for highlighting two different colors can be achieved by using sublexems as per your code. In addition we need to configure the lexem in the Sublexem region using Split, which contain list of expressions that must be treated as a single word. Since the sublexem includes the regular expression content we need to include the following code snippet in the configuration file.
Code Snippet [XML] :
We have prepared a sample for your reference which can be downloaded from the following location.
Please let us know whether this solution satisfies your requirement.