http://www.perlmonks.org?node_id=388882


in reply to Regex for matching a file name

Make your regexp:
/^${THREAD}x.*\.htm$/
(emergency question gets somewhat curt, right-to-the point response)
------------ :Wq Not an editor command: Wq