in reply to Re: Replacing single quotes to two single quotes inside map
in thread Replacing single quotes to two single quotes inside map

Wouldn't work with smart quote, single quote from MS Word.
  • Comment on Re^2: Replacing single quotes to two single quotes inside map

Replies are listed 'Best First'.
Re^3: Replacing single quotes to two single quotes inside map
by choroba (Cardinal) on Nov 14, 2017 at 13:52 UTC
    Ah, so they're storing the smart quote as two single quotes in the DB! Clever.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,