I am wondering if it is possible to add a regex pattern to a spell check dictionary in Sublime Text so all the corresponding matches will not be considered as misspellings. This is probably a very simple question but I could not find anything about it.
In particular, I would like to add a DOI regex pattern (doi:)*10\.\d{4,9}/[-._;()/:a-zA-Z0-9]+ so the DOI ‘words’ like doi:10.1234/12334.1234 and 10.1234/12334.1234 will pass spell checking.