Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 打字3:在打字脚本中使用正则表达式?_Typo3_Typoscript - Fatal编程技术网

Typo3 打字3:在打字脚本中使用正则表达式?

Typo3 打字3:在打字脚本中使用正则表达式?,typo3,typoscript,Typo3,Typoscript,嘿,伙计们,有可能使用带有打字脚本的正则表达式吗 我在baseURL上确实需要它 f、 e.baseURL=删除最后一个斜杠(http://example.com) 提前谢谢 如果config.baseURL具有stdWrap,则可以使用stdWrap.substring执行此操作。但事实并非如此。并且不应删除config.baseURL处的最后一个斜杠 如果您有stdWrap,那么可以使用substring 10 = TEXT 10.value = http://example.com

嘿,伙计们,有可能使用带有打字脚本的正则表达式吗

我在baseURL上确实需要它

f、 e.baseURL=删除最后一个斜杠(http://example.com)


提前谢谢

如果config.baseURL具有stdWrap,则可以使用stdWrap.substring执行此操作。但事实并非如此。并且不应删除config.baseURL处的最后一个斜杠

如果您有stdWrap,那么可以使用substring

  10 = TEXT
  10.value = http://example.com/
  10.stdWrap.substring = 0,-1
从TYPO3 4.6开始,通过正则表达式进行替换