in reply to Re: Regex delimiter
in thread Regex delimiter

The documentation is wrong in this case, you can use alphanumeric delimiters:
$ perl -le'$_ = q[bcdefg]; print $1 if m x..(..)..x;' de $ perl -le'$_ = q[bcdefg]; print $1 if m 7..(..)..7;' de

Replies are listed 'Best First'.
Re^3: Regex delimiter
by davido (Cardinal) on Jun 27, 2007 at 04:25 UTC

    The documentation and reality are at odds with each other, it seems. However, I think there's probably some wisdom in sticking with documented behavior for code that needs to be robust, until the behavior that defies documentation is reconciled. You never know which way the pendulum will swing when they sort it out.


    Dave