in reply to regex problem
use warnings; use strict; while (<DATA>) { print if /\QCOPYRIGHT(C)/ } __DATA__ foo COPYRIGHT(C) bar COPYRIGHT [download]
prints:
foo COPYRIGHT(C) [download]
See also quotemeta