From: Robert Klemme Date: 2003-06-13T19:32:33+09:00 Subject: Re: Regex: undocumented feature? "Joel VanderWerf" schrieb im Newsbeitrag news:3EE8F814.5010101@path.berkeley.edu... > Wesley J. Landaker wrote: > > Apparently, Joel VanderWerf recently wrote: > > > >>p /\AQ/ =~ "aQ" # ==> nil > >>p /\A=|Q/ =~ "aQ" # ==> 1 > > > > > > \A means beginning of the string (mostly the same as ^, except in > > multiline mode), and it is lower precidence than | > > Ah, thanks. I always expect | to have a higher prec than most other things. ??? That's exactly what Wesley wrote. Then I don't understand your initial question. robert