Skip to content

Commit

Permalink
docs: fix JSDoc comment on regex function (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot67 authored Oct 23, 2024
1 parent 02d3a28 commit 00ac98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/string/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class VineString extends BaseLiteralType<string, string, string> {
}

/**
* Validates the value to be an active URL
* Validates the value against a regular expression
*/
regex(expression: RegExp) {
return this.use(regexRule(expression))
Expand Down

0 comments on commit 00ac98e

Please sign in to comment.