mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-05 05:18:44 -05:00
* docs: fixed minor typos in how-to-open-a-pull-request.md * docs: grammar fixes in FAQ.md * refactor: streamlined comments in multiple TS files * fix: linting issues
9 lines
286 B
TypeScript
9 lines
286 B
TypeScript
/*
|
|
* This regex is not for validation, it is purely to see
|
|
* if we are looking at something like what we want to validate
|
|
* before we try to validate.
|
|
*/
|
|
export const maybeEmailRE = /.*@.*\.\w\w/;
|
|
export const maybeUrlRE = /https?:\/\/.*\..*/;
|
|
export const hasProtocolRE = /^http/;
|