I tried replacing '& =' with '= &' in Vim, but the command :%s/&=/=&/g replaced '& =' with '= & ='.
:%s/&=/=&/g
Why did this happen? Which command should be used?
Just remove the ampersand.
:%s/&=/=\&/g
You need to avoid this because & is the special character in the replacement, which will be replaced with the entire matched pattern.
&
Source: https://habr.com/ru/post/975511/More articles:LINQ OrderBy Does it always return the same ordered list? - sqlRemoving the border around a legend in Python Object-oriented construction - python"You did not specify View to use as content for pop-ups" - androidCreating a 2D dictionary in Python - pythonWhat is the official way to install Haskell Platform 2014, from source, on Red Hat? - installationstring.format conflcits with css tags: {} - pythonSolve a differential equation with Python solution PyDDE - pythonHow to support one xib for all iPhone devices up to iPhone 6 Plus? - iosNeo4j Apartment house - spring-data-neo4j"undefined" is returned when accessing some of the listed properties of a File object - javascriptAll Articles