develooper Front page | perl.perl6.language | Postings from October 2006

Re: S5: perl5 regex flags

Thread Previous | Thread Next
From:
Larry Wall
Date:
October 7, 2006 15:36
Subject:
Re: S5: perl5 regex flags
Message ID:
20061007223648.GA16879@wall.org
On Sat, Oct 07, 2006 at 03:28:04PM -0700, Jonathan Lang wrote:
: It's been indicated that several regex modifiers that are found in
: Perl5 are gone.  That's all well and good, unless you're using the
: Perl5 modifier to port code to perl6.  What happens if you're trying
: to port in a regex that made use of one of the now-obsolete modifiers?

You just put them inside with (?smx).

Larry

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About