Feature #39564

Eel Parser RegEx should support quoted strings containing curly brackets

Added by Alexander Berl almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-08-07
Priority:Should have Due date:
Assigned To:Alexander Berl % Done:

0%

Category:-
Target version:-

Description

Currently, the eel parser regex doesn't recognize expressions like the following as valid:
"some {$context->unwrap()} string with 'quoted stuff'"

This is because the regex /^\${([^}]*)}$/ stops on the first occurence of a closing curly bracket "}".


Related issues

related to TYPO3.Fluid - Feature #33394: Logical expression parser for BooleanNode Needs Feedback 2012-01-23

Associated revisions

Revision ad12e9aa
Added by Alexander Berl almost 3 years ago

[FEATURE] Support quoted strings containing curly brackets in Eel expressions

This enhances the Eel parser regexp to support quoted strings containing curly brackets.

Change-Id: I1bd9e3d92f4bb560ed2e3cbea34de8baecf101cd
Resolves: #39564

History

#1 Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13487

#2 Updated by Sebastian Kurfuerst almost 3 years ago

  • Status changed from New to Resolved
  • Assigned To set to Alexander Berl

thanks Alexander for working on this :)

Also available in: Atom PDF