Studio 8.1 Malformes regular expressions

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.

Hi!

Thank you for reporting the problem. We have created a YouTrack issue.

1 Like