Hello, I think I found a bug in sed (GNU sed) 4.8 or I have misunderstood its syntax. The following command sed -iE 's/project-[0-9]+\.[0-9]+\.xsd/project-7.3.xsd/' project.xml does not work how it is expected to. Just switching the arguments to -Ei makes it work normally. When -i is not supplied (print to stdout), it also works correctly. Thanks Jakub Ĺ ebek