/foo|(bar)?|rat/ is not logically equivalent to /(foo|bar|rat)?/. They both match every possible string, but they will put different things in $1 and $&.
In reply to Re: Why machine-generated solutions will never cease to amaze me
by tilly
in thread Why machine-generated solutions will never cease to amaze me
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |