Some tests for Embperl escaping

[- $optRawInput = 0 -] [- $escmode = 0 -] $optRawInput [+ $optRawInput +] $escmode [+ $escmode +] 'here is a \ ' -> [+ 'here is a \ ' +] 'here is a \\ ' -> [+ 'here is a \\ ' +] 'here is a \\\ ' -> [+ 'here is a \\\ ' +] 'here is a \\\\ ' -> [+ 'here is a \\\\ ' +] 'here is a ' -> [+ 'here is a ' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] [- $optRawInput = 1 -] [- $escmode = 0 -] $optRawInput [+ $optRawInput +] $escmode [+ $escmode +] 'here is a \ ' -> [+ 'here is a \ ' +] 'here is a \\ ' -> [+ 'here is a \\ ' +] 'here is a \\\ ' -> [+ 'here is a \\\ ' +] 'here is a \\\\ ' -> [+ 'here is a \\\\ ' +] 'here is a ' -> [+ 'here is a ' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] [- $optRawInput = 0 -] [- $escmode = 1 -] $optRawInput [+ $optRawInput +] $escmode [+ $escmode +] 'here is a \ ' -> [+ 'here is a \ ' +] 'here is a \\ ' -> [+ 'here is a \\ ' +] 'here is a \\\ ' -> [+ 'here is a \\\ ' +] 'here is a \\\\ ' -> [+ 'here is a \\\\ ' +] 'here is a ' -> [+ 'here is a ' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] [- $optRawInput = 1 -] [- $escmode = 1 -] $optRawInput [+ $optRawInput +] $escmode [+ $escmode +] 'here is a \ ' -> [+ 'here is a \ ' +] 'here is a \\ ' -> [+ 'here is a \\ ' +] 'here is a \\\ ' -> [+ 'here is a \\\ ' +] 'here is a \\\\ ' -> [+ 'here is a \\\\ ' +] 'here is a ' -> [+ 'here is a ' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +] 'here is a \ ' -> [+ 'here is a \' +] 'here is a \\ ' -> [+ 'here is a \\' +] 'here is a \\\ ' -> [+ 'here is a \\\' +] 'here is a \\\\ ' -> [+ 'here is a \\\\' +]