Skip to content
Prev 157612 / 398506 Next

Pattern match in R

Try this where ? signifies that the prior character is optional:

dir(pattern = "^Coverage_[1-9]?[0-9]$")


On Tue, Sep 30, 2008 at 10:36 AM, bioinformatics_guy
<wwwhitener at gmail.com> wrote: