Skip to content

Commit 00ac98e

Browse files
authored
docs: fix JSDoc comment on regex function (#77)
1 parent 02d3a28 commit 00ac98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema/string/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class VineString extends BaseLiteralType<string, string, string> {
160160
}
161161

162162
/**
163-
* Validates the value to be an active URL
163+
* Validates the value against a regular expression
164164
*/
165165
regex(expression: RegExp) {
166166
return this.use(regexRule(expression))

0 commit comments

Comments
 (0)