nextflow-io / nextflow-io/language-server

Support slashy interpolated strings

Open
#49 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
31
Forks
8
Avg merge
1d 10h
Merged PRs (30d)
2

Description

So I have this regex written in Groovy, that gets all the FASTA files from a directory:

output = file(sample_dir).listFiles().findAll{ it.getName() =~ /${sample_name}.*\.f(?:ast)?[qa](?:\.gz)?/ }

Nextflow server complains about the slashy part, probably that is not supported, as described here . How am I supposed to write this Regex in a non slashy way?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported example from the issue and compare its slashy interpolated string with the linked Nextflow excluded-syntax documentation. Trace the language server's handling of this syntax; done means the example is accepted without the current complaint and the supported interpolation behaves as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy, java
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.