I'm using the $' operator to append to a string that I find from using a search. For example given the string copyright 2003-2004, I want to append an additional year onto the end. So the resulting string would be copyright 2003-2004, 2005. I used s/copyright*/$& $' ,2005/g which does the job except somehow im getting the results of $' displayed twice. So in my example, after the substitution, i get copyright 2003-2004, 2005 2003-2004. Does anyone know how to fix this? Thanks.