fix(regexp-utils): Also update the regex101 link with test cases

This commit is contained in:
Drew Regitsky 2016-03-10 18:43:02 -08:00
parent a41844c38d
commit 071a58e355

View file

@ -41,7 +41,7 @@ RegExpUtils =
# 5. the closing tag
linkTagRegex: -> new RegExp(/(<a.*?href\s*?=\s*?['"])(.*?)(['"].*?>)([\s\S]*?)(<\/a>)/gim)
# Test cases: https://regex101.com/r/cK0zD8/3
# Test cases: https://regex101.com/r/cK0zD8/4
# Catches link tags containing which are:
# - Non empty
# - Not a mailto: link