Skip to content

Commit

Permalink
Fix(link validator): regexp typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vladyio committed Oct 12, 2024
1 parent 220c320 commit a1dfb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/controllers/link_input_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default class extends Controller {
'(youtube\\.com|youtu\\.be|m\\.youtube\\.com|music\\.youtube\\.com|gaming\\.youtube\\.com)' +
'\\/(watch\\?v=|embed\\/|v\\/|.+\\?v=|)?' +
'([a-zA-Z0-9_-]{11})' +
'(\?feature=shared)' +
'(\\?feature=shared)' +
'(&.+)?$'
)

Expand Down

0 comments on commit a1dfb58

Please sign in to comment.