vscode-inline-bookmarks icon indicating copy to clipboard operation
vscode-inline-bookmarks copied to clipboard

Regex doesn't work

Open onny-dev opened this issue 2 years ago • 2 comments

For purple i have set this regex rule: /* ![\s]

but if I write, in the document, / * ! test */, the boockmark is not set

onny-dev avatar Nov 04 '22 11:11 onny-dev

I saw that the plug-in may have some refresh problems if files are not yet saved. Since i saved my newly created files regex are working again.

Regards.

overall-ita avatar Jan 09 '23 18:01 overall-ita

Hi @onny-dev, I had the same problem, i solved by escaping all characters (i also used regex for spaces):

\/\*[\s]![\s]

Regards

overall-ita avatar Jan 10 '23 09:01 overall-ita