http://www.perlmonks.org?node_id=1027717


in reply to YAML: regex stringification has changed

Has anyone else encountered this/have any suggestions?

Store Regexp::English objects? :)

I once patched YAPE::Regex::Explain to recognize the new syntax (?^i:i) and (?i-xsm:i) but the whole thing left me disgusted with the obscene amount of catching up required just to tokenize the regex -- something the engine already does

Maybe you could use re::engine::Hooks or probably overload to hook-into it globally

Maybe see example in http://perl5.git.perl.org/perl.git/blob/HEAD:/lib/overload.t