mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(regexp-utils): Also update the regex101 link with test cases
This commit is contained in:
parent
a41844c38d
commit
071a58e355
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue