Skip to content

Support slashy interpolated strings #49

Description

@VasLem

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions