It was written in order to find all instances of a custom BB code tag for embedding YouTube video in an imported posts, and convert them to XenForo's :
- The system will not check that your regular expression is valid, or that it matches. It will fall over if your expression does not compile, and it will simply not match anything if the logic is incorrect.
- There is no batch processing in this add-on, so if you are replacing something that occurs in a lot of posts, this could be very slow and might time-out.
Edit: Jan 10th 2011 - Code updated and fixed. Not sure how I missed that but... oh well. Thanks to whyweprotestfor spotting my silly error.