I've got this Regex that comes out of a groovy code:
(?:[^\p{Alnum}äöü**~D~V~\~_**]|^)
(?:sometext|s\.t\.)
(?:[^\p{Alnum}äöü**~D~V~\~_**]|$$)
The only thing I do not understand is this part:
**~D~V~\~_**
What doas the tilde do in there? Is that an error? Or just some switch for the character class?
My understanding is that the first and the third line do match word boundries, while the second matches the text in question (in long and short form).
I tried googling this (and searched here of course) but unfortunatly the tile belongs to the "match this" operator in groovy, so all I found here and there were was general information on how to regex something.