Function parse_bbc
Parse bulletin board code in a string, as well as smileys optionally.
- only parses bbc tags which are not disabled in disabledBBC.
- handles basic HTML, if enablePostHTML is on.
- caches the from/to replace regular expressions so as not to reload them every time a string is parsed.
- only parses smileys if smileys is true.
- does nothing if the enableBBC setting is off.
- uses the cache_id as a unique identifier to facilitate any caching it may do.
- returns the modified message.
		
		Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
	
	Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
| string|boolean | $message | <p>The message. When a empty string, nothing is done. When false we provide a list of BBC codes available. When a string, the message is parsed and bbc handled.</p> | 
| boolean | $smileys = true | Whether to parse smileys as well | 
| string | $cache_id = '' | The cache ID | 
| array | $parse_tags = array() | If set, only parses these tags rather than all of them | 
| 
			string
		 | The parsed message |