Closed daletman closed 1 year ago
Describe the bug The XML formatter does change all double backslashes ( \\ ) in a regex to single backslash ( \ )
\\
\
To Reproduce Steps to reproduce the behavior:
<Input value="{ path: '/', type: 'sap.ui.model.type.String', constraints: { search: '^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]{2,}\\.[a-zA-Z0-9-.]{2,}$' } }"/>
Expected behavior Double backslashes shouldn't be replaced by single backslash
Desktop (please complete the following information):
Hi!
Thanks for the bug report and an example. Fixed in v1.11.0, please check
Works like expected now, thanks!
Describe the bug The XML formatter does change all double backslashes (
\\
) in a regex to single backslash (\
)To Reproduce Steps to reproduce the behavior:
\\
in the regex will be replaced with\
Expected behavior Double backslashes shouldn't be replaced by single backslash
Desktop (please complete the following information):