We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0475f88 commit e7187d5Copy full SHA for e7187d5
src/regex/RegexFactory.ts
@@ -1,5 +1,5 @@
1
export class RegexFactory {
2
imageMarkdownLinkRegex(): RegExp {
3
- return new RegExp(/!\[[^\]]+\]\((?<link>[^)]+)(?=\))/g); // https://regex101.com/r/YlCOgc/2
+ return new RegExp(/!\[[^\]]+\]\((?<link>[^)]+)(?=\))/); // https://regex101.com/r/YlCOgc/3
4
}
5
0 commit comments