[TYPO3-english] Using vertical bars in regular expressions in Typo forms

Jonathan Hartshorn jonaboff91 at gmail.com
Mon Jul 20 12:30:17 CEST 2009


>>> Is it possible to use the '|' metacharacter in EREG expressions in
>>> mailforms?
>>> ...
>> See .wrap in the stdWrap section of the TSref [1]. You can alter the
>> 'splitChar' (which is usually the pipe character) for a given wrap.
>> ...
> Another possibility could be (I've never tested) to note "|" as chr(0x7c)
>
> chr is also accepted as stdWrap-property.

Thanks for the replies; I don't know how I would use either stdWrap or
chr(0x7c) in the form object. Is there a way to edit the form object
array directly? Or can I do it through the form wizard, somehow?

--Jonathan


More information about the TYPO3-english mailing list