Feature #39564

Eel Parser RegEx should support quoted strings containing curly brackets

Added by Alexander Berl 11 months ago. Updated 11 months ago.

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

0%

Category:-
Target version:-
Votes: 0

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 11 months 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

Updated by Gerrit Code Review 11 months ago

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

Updated by Sebastian Kurfuerst 11 months ago

  • Status changed from New to Resolved
  • Assignee set to Alexander Berl

thanks Alexander for working on this :)

Also available in: Atom PDF