Chapter 16 BBCodes
When my BBcode table only contains literal pattern matches all the replacements are carried out without a problem. When my BBcode table contains:
\[b\]([^+?)\[\/b\] (pattern) <b>$1</b> (replacement)
no pattern matching is carried out at all, or if it is the body of the processed text is not displayed on the screen. This is so even when the body of that text only contains alphabetic characters.