This is the project homepage of the
StringParser_BBCode class. With the help of this class it is possible to parse so-called BB-Codes. Often this undertaking is solved by the use of regular expressions. But regular expressions do not provide the means that are necessary to ensure correct nesting.
The class was tested with PHP 4.1.2, 4.3.8, 4.3.9, 5.0.2 und PHP 5.1.2 successfully. Other PHP versions including 4.0.6 (but not 4.0.5 or lower) should also work but I did not yet have the possibility to verify that.
This project is also listed at freshmeat where you can subscribe this project and get informed if new versions appear.
The current version of the class is 0.3.3. It can be downloaded in the download area.
If there are questions, suggestions or cirticism regarding this class I will answer them via electronic mail.
If someone wants to help me with the further developement of this class he may contact me.
I thank everybody who had helped me to improve the class but special thanks go to:
- Jeena Paradies (email@example.com) who designed the layout for this website and documentation.
- Götz Bürkle (firstname.lastname@example.org), who found al lot of bugs due to his intensive beta testing and created the favicon for this page.
There are several other projects that also have the goal to parse BBCodes:
- HTML_BBCodeParser - a PEAR class that parses BBCodes. However, it needs a PEAR installation.
- quickerUbb - a class primarily optimized for speed.