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