Skip to content

Commit

Permalink
Merge pull request #263 from VirtusLab-Open-Source/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
cyp3rius authored Aug 5, 2022
2 parents d49c49b + cf6751b commit d8c460b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { RawFormPayload } from "../types";
import pluginId from "../../../../../pluginId";

const externalPathRegexps = [
/^mailto:[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/,
/^tel:(\+\d{1,3})?[\s]?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{3,4}$/,
/^mailto:[\w-\.]+@([\w-]+\.)+[\w-]{2,}$/,
/^tel:(\+\d{1,3})?[\s]?(\(?\d{2,3}\)?)?[\s.-]?(\d{3})?[\s.-]?\d{3,4}$/,
/^#.*/,
/(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/,
];
Expand Down

0 comments on commit d8c460b

Please sign in to comment.