Actions
Bug #102143
closedRegular Expression is cut off
Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2023-10-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When you add a regular expression validator to a form field, the regular expression is cut off at a smaller sign.
Test using this regular expression:/(?<!@example\.com)$/
After saving the form, only /(?
remains.
Files
Updated by Garvin Hicking 10 months ago
Hi Robert,
actually, using the RegularExpressionValidator in the GUI has been deprecated in TYPO3v12 and removed in TYPO3v13. I believe (speaking for myself, not the TYPO3 core development), this bug will thus probably not be addressed, because it is an actual reason for why it has been removed.
What you can do is to manually add the Validator to your YAML field config, where escaping will not be malformed. I hope this workaround works for you?
Best regards,
Garvin
Updated by Mathias Brodala 10 months ago
- Status changed from New to Closed
- Priority changed from Should have to Won't have this time
Updated by Elias Häußler 10 months ago
- Related to Bug #91340: RegEx validator in EXT:form does not support negative lookbehind added
Actions