This should mark entities which have the fllowing format: a number (8 or 6 digits) , dash ("-") and a number (4 digits).
It works fine, when the entity is within the paragraph, but doesn't work when the entity stays alone in a text line (see attachment). Adding any character in front or after the examined string makes it work again (see another screenshot).
What is missing?
***Edited by Moderator Marissa to update Content Type from Discussion to Question***