October 30, 2017 [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 |
Copyright © 1999-2021 by the D Language Foundation