Larry Wall wrote:
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).

Ah; gotcha.  I had been under the impression that there were subtle
differences between (?msx) and //msx, such as the former allowing you
to turn the flags on or off mid-pattern.  Not that it matters if you
put this at the front of the pattern...

Jonathan "Dataweaver" Lang

Reply via email to