Project

General

Profile

Actions

Bug #102143

closed

Regular Expression is cut off

Added by Robert Vock about 1 year ago. Updated about 1 year ago.

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

Regular Expression Validator.png (62.4 KB) Regular Expression Validator.png Robert Vock, 2023-10-11 14:07

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91340: RegEx validator in EXT:form does not support negative lookbehindClosed2020-05-07

Actions
Actions #1

Updated by Garvin Hicking about 1 year 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

Actions #2

Updated by Mathias Brodala about 1 year ago

  • Status changed from New to Closed
  • Priority changed from Should have to Won't have this time
Actions #3

Updated by Elias Häußler about 1 year ago

  • Related to Bug #91340: RegEx validator in EXT:form does not support negative lookbehind added
Actions

Also available in: Atom PDF