Tetra WebBBS Configuration

$SFU_base_chars

$SFU_base_chars takes effect ONLY, if $SFU_subject is enabled!

New in 6.10

$SFU_base_chars is a guru variable. Keep hands off unless you know what you're doing!

This is an optional variable which allows admins to specify which characters will remain in the 'sbj' parameter after all character replacements have been processed. The scripts default to characters 'a-z0-9' (lower case ASCII characters and digits). If this is not what you want for your site, then you may define $SFU_base_chars according to your needs. Below is the RegEx used for the replacement. Experienced folks should then know how to use this optional feature. If you don't understand the line of code then keep hands off!

$sbj =~ s/[^$cfg->{'SFU_base_chars'}]/$cfg->{'SFU_word_delimiter'}/g;