Regular Expression to Match File/Directory Path in Ruby?

Posted by viatropos on Stack Overflow See other posts from Stack Overflow or by viatropos
Published on 2010-03-20T15:58:22Z Indexed on 2010/03/20 16:01 UTC
Read the original article Hit count: 391

What is the simplest regular expression to match a Directory or File such as the one below? The recursiveness of it is tricking me.

something/another/one-more/level to/go!??123_done.doc

© Stack Overflow or respective owner

Related posts about regular-expression

Related posts about one-liner