/(.*?)(??{ quotemeta reverse $1 })/s
Of course, (.*?) can match a zero-length string. And since it's not anchored, it will always match "". Remove the "?".
In reply to Re: use of built-in function in regex...
by ikegami
in thread use of built-in function in regex...
by pkumar.pr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |