FAQ

On 2014-02-25 12:37, demerphq wrote:

However this gets onto poorly defined ground as it conflicts with the
behavior of (a)*. Consider the match

"aaaa" =~ /(a)*/

we expect $1 to contain the last successful 'a'. However this would
conflict with the case you describe. (I think. :-).
Illustration:

perl -wE'
    say for "aA" =~ /(a)*/i;
'
A

--
Ruud

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 34 of 39 | next ›
Discussion Overview
groupperl5-porters @
categoriesperl
postedFeb 16, '14 at 12:30p
activeFeb 26, '14 at 10:24a
posts39
users6
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase