Description of problem: The ^ operator is not working correctly when used after a | operator. Version-Release number of selected component (if applicable): vim-common-7.4.640-4.fc22.x86_64 How reproducible: Always Steps to Reproduce: 1. Create a file and add the contents below: Hello World 2. Open the file in vim 3. Enter "/^Hello\|^World" Actual results: Only the Hello line matches Expected results: Both lines match. Additional info: The expected behavior was present in vim-common-7.4.475-2.fc20 so a bisect may help narrow down the issue. This issue is not present in Vim compiled from source with $ export LDFLAGS="-Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dtags -L/usr/local/lib -Wl,--as-needed -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lcrypt -lutil -lpthread -lc -lm -lnsl -lselinux -lncurses" $ export CFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2" $ ./configure --prefix='/tmp/vim/dist/' --enable-pythoninterp=dynamic --enable-rubyinterp=dynamic --enable-cscope --enable-multibyte --with-features=huge --with-tlib=ncurses --disable-tclinterp --enable-netbeans --disable-gui The compiled version is pretty close to the packaged version in terms of flags and such. The major difference is Perl is enabled in the packaged version (I couldn't figure out how to get those working); and clientserver, clipboard, X11, xfontset, xterm_clipboard, xsmp_interact are enabled with the configuration above. My suspicion is that perhaps the issue is lurking on one of the patches carried with the package.
I'm preparing an update to vim 7.4.827, it seems to fixed there. Please install the new vim from updates-testing when it shows up (1-2 days I think)
vim-7.4.827-1.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14209
vim-7.4.827-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.