Hello all!
I try to setup a .js file type on RegEx basis to define tags that exclude all code from the start of a line until the comment "//" – but to no avail. It seems that I need a tag _pair_ which I don't have.
I tried to use ^[.] or ^. or [.] or . as opening tag and "[//]" as closing tag and some variants ...
For the opening tag I even tried lookbehinds like (?<=[.]{*})[//]
Hope there is a solution because passing code to NMT like DeepL is dangerous. :-)
Best
Olaf
PS: Because it is a book project I can't use Passolo (I have an older 2011 version sitting somewhere) because the code is scattered in chunks everywhere.