www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [std.regex] Set operations with unicode properties.

Greetings,

I need to match any character, except control characters and some 
other exceptions and thought this would be a good usecase to use 
character classes and set operations.

Can I combine this with unicode properties?, e.g: any Charactor 
that is not a control character and not ';' or ':'?
---
string regex = "[\p{Any}--\p{Control}--[;:]]";
---

Is this possible somehow?

Thanks,
- Tobias
Oct 30 2017