We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2912596 commit 745f702Copy full SHA for 745f702
src/regexValues/iri.ts
@@ -1,7 +1,7 @@
1
import { checkRegex, Rule } from 'rulr';
2
import { createTypeWarning } from '../warnings/TypeWarning';
3
4
-const regex = /^\w+:\/\/[^\/\#\?]*\/?[^\#\?]*\??[^\#]*\#?[^$]*$/i;
+const regex = /^\w+:\/\//i;
5
const warningConstructor = createTypeWarning('Internationalized Resource Identifier (IRI)');
6
7
export default checkRegex(regex, warningConstructor) as Rule;
0 commit comments