When I add pattern validation to an entity using a regular expression, the designer takes the expression but upon saving it removes the escape characters rendering the expression invalid.
Pattern used: ^(\+\d{1,3}[- ]?)?\d{9}$
Latest IntelliJ IDEA and Cuba Studio plugin.