in reply to parsing to get data between '=>' characters

There's no \b at the end of => . It matches at word boundaries, but > isn't a word character.

/\b\Q$beginString\E\b(.*?)\b\Q$endString\E\b/s # ~~ ~~

($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,

Replies are listed 'Best First'.
Re^2: parsing to get data between '=>' characters
by victorz22 (Sexton) on Apr 20, 2017 at 00:46 UTC

    Thanks! it worked!