Skip to content

Support slashy interpolated strings #49

@VasLem

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions