in reply to Re^4: regex s/// using hash
in thread regex s/// using hash

What solution isn't working?

Replies are listed 'Best First'.
Re^6: regex s/// using hash
by oha (Friar) on Oct 16, 2007 at 14:12 UTC
    unless the effort of using our (or take care about how the RE is compiled), which is uncommon, the idea of suggesting /(\w)(?(?{$h{$1}})|($!))/$h{$1}/g; isn't working all the time.

    Oha