One can do something similar with perl -de 0; just set $_ to your sample data and then try x /foo/ until you get what you want (which has the added benefit of showing what captures captured as well).
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: ReadLine regexp quicktest
by Fletch
in thread ReadLine regexp quicktest
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |