Commit db1ce7df authored by Fabian Galinski's avatar Fabian Galinski

[BUGFIX] The custom parser dosen't checks the case sensitivity

parent faad3b4e
......@@ -98,7 +98,7 @@ class tx_contentreplacer_service_CustomParser extends tx_contentreplacer_service
$searchClass = preg_quote($this->extensionConfiguration['prefix'] . $category, '/');
$search[$termName] = '/' . $char . $searchClass . $char .
'\s*?' . preg_quote($term['term'], '/') . '\s*?' . $char . $char . '/i';
'\s*?' . preg_quote($term['term'], '/') . '\s*?' . $char . $char . '/';
$replace[$termName] = $this->prepareReplacementTerm(
$term['replacement'],
......@@ -118,4 +118,4 @@ if (defined(
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/content_replacer/Classes/Service/class.tx_contentreplacer_service_SpanParser.php']);
}
?>
\ No newline at end of file
?>
......@@ -15,7 +15,7 @@ $EM_CONF[$_EXTKEY] = array(
'description' => 'You need a fast substitution of terms with full support of typoscript, categories and RTE integration? If yes, the extension could be perfectly fit into your project. The performance is gained by wrapping of the replacement terms to simplify the parsing process.',
'category' => 'fe',
'shy' => 0,
'version' => '2.1.0',
'version' => '2.1.1',
'dependencies' => '',
'conflicts' => '',
'priority' => '',
......@@ -47,4 +47,4 @@ $EM_CONF[$_EXTKEY] = array(
'_md5_values_when_last_written' => 'a:18:{s:19:"de.locallang_db.xml";s:4:"2383";s:16:"ext_autoload.php";s:4:"436a";s:12:"ext_icon.gif";s:4:"8fdb";s:17:"ext_localconf.php";s:4:"6b07";s:14:"ext_tables.php";s:4:"d9a4";s:14:"ext_tables.sql";s:4:"c858";s:16:"locallang_db.xml";s:4:"4423";s:7:"tca.php";s:4:"ffd9";s:63:"Classes/Controller/class.tx_contentreplacer_controller_main.php";s:4:"41e0";s:63:"Classes/Repository/class.tx_contentreplacer_repository_term.php";s:4:"28d3";s:67:"Classes/Service/class.tx_contentreplacer_service_abstractparser.php";s:4:"9c22";s:65:"Classes/Service/class.tx_contentreplacer_service_customparser.php";s:4:"3147";s:63:"Classes/Service/class.tx_contentreplacer_service_spanparser.php";s:4:"a7c8";s:14:"doc/manual.sxw";s:4:"9c15";s:53:"resources/icons/icon_tx_content_replacer_category.png";s:4:"dd7a";s:49:"resources/icons/icon_tx_content_replacer_term.png";s:4:"448e";s:20:"static/constants.txt";s:4:"600a";s:16:"static/setup.txt";s:4:"d12c";}',
);
?>
\ No newline at end of file
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment