We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0deb606 commit 87e9edbCopy full SHA for 87e9edb
src/features/job-scanner.ts
@@ -42,7 +42,7 @@ const jobKeywords = [
42
43
const currencyKeywords = ["₹", "€", "$"];
44
const hasCodeBlockWithDollarSign = (content: string): boolean => {
45
- const codeBlockRegex = /```[\s\S]*?\$[\s\S]*?```/g;
+ const codeBlockRegex = /(`{1,3})([\s\S]*?\$[\s\S]*?)\1/g;
46
return codeBlockRegex.test(content);
47
};
48
0 commit comments