Conversation
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
|
||
| ```nextflow | ||
| def id = 'SRA001' | ||
| assert 'SRA001.fastq' ~= /${id}\.f(?:ast)?q/ |
There was a problem hiding this comment.
wasn't said to keep slashy string (with interpolation) and deprecate dollar slash strings?
There was a problem hiding this comment.
neither are supported. I am looking into slashy strings here but until I can get it to work, they are effectively not supported
There was a problem hiding this comment.
think we should consider a lack in the lang server, but i'd keep in the lang reference
There was a problem hiding this comment.
Dynamic slashy strings are not mentioned in the language reference. The effort to support them (nextflow-io/language-server#51) is purely exploratory. There is no guarantee that we can support it or that it would be wise to do so. Meanwhile, a regular dynamic string can be used by simply replacing \ with \\.
I will add it in the future if I feel confident that we can support it.
Signed-off-by: Ben Sherman <bentshermann@gmail.com> Signed-off-by: Christopher Hakkaart <chris.hakkaart@seqera.io>
Minor corrections to syntax rules for strings and the workaround for dynamic config includes.