How To Escape Single and Double Quotes in Perl

Author: , February 11th, 2021

## to add a single backslash in front of whatever char was matched

## to double whatever char was matched

## to convert ‘ to ‘\” for shell execution

How To Match Multiple Spaces In VIM

Author: , July 22nd, 2011

I needed to take just the first occurrence of one or more spaces and turn that into a pipe symbol so as to create 2 fields for easy database import:

The important thing to note is the inclusion of the backslash in front of the plus (+) sign. That prevents an irritating session of […]