AttributeFilters\Regexp::isSafeAsURL() returns true if the regexp is anchored and starts with a fixed scheme
Added a basic [magnet] BBCode