Project

General

Profile

Actions

Bug #20429

closed

Regular expressions conditions can not differentiate between values that are part of other values

Added by Ingo Renner over 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2009-05-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In the following condition a regular expression is used:

[globalString: GP = tx_blogexample_pluginkey|action = /index|delete/]

The regular expression matches delete but also deleteAll, do_not_delete, and so on.

The affected method is t3lib_matchcondition::matchWild()
(issue imported from #M11095)

Actions #1

Updated by Oliver Hader about 15 years ago

Hi Ingo,
please use the start and end statements in your pattern:
[globalString: GP = tx_blogexample_pluginkey|action = /<b>^(</b>index|delete<b>)$</b>/]

Actions

Also available in: Atom PDF