in reply to match and regex

well, the 'bld' is anyways followed by a colon, digits, a colon and if the next character is a #, it should not match?

Looks like m/(\w+\.bld):\d+:[^#]/ should work, or even m/(\w+\.bld)[^#]+$/. Does that cover all cases?

update, forgot about [ ]

--
http://fruiture.de