added pattern option to is_article_url