We don't bite newbies here... much | |
PerlMonks |
Re: How to print the original qr regex to the stdout?by Anonymous Monk |
on Feb 28, 2022 at 10:15 UTC ( [id://11141700]=note: print w/replies, xml ) | Need Help?? |
It adds the ?^: at the start. What is the proper way to get rid of it? Try Data::Dump pp to serialize regex or something from re or B to get original qr maybe use https://perldoc.perl.org/re#regexp_pattern($ref)
In Section
Seekers of Perl Wisdom
|
|