Re: [perl #27962] [PATCH] bad error message for split.
On Fri, Mar 26, 2004 at 09:23:25AM -0500, Dan Sugalski wrote: : At 11:01 PM -0500 3/25/04, Will Coleda wrote: : Would a patch be accepted that let split work on non empty strings : (not treated as REs) as a stopgap until RE support? : : Yep. Especially since we'll be revising P6 split to do that as part of its functionality anyway. We're gonna try really hard not to confuse regexes and strings in P6... Larry
[perl #27962] [PATCH] bad error message for split.
# New Ticket Created by Will Coleda # Please include the string: [perl #27962] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27962 Here's an untested patch to fix the split op's warning. Index: ops/string.ops === RCS file: /cvs/public/parrot/ops/string.ops,v retrieving revision 1.15 diff -r1.15 string.ops 690c690 internal_exception(1, Unimplemented join by regex); --- internal_exception(1, Unimplemented split by regex); -- Will Coke Coledawill at coleda dot com
Re: [perl #27962] [PATCH] bad error message for split.
Would a patch be accepted that let split work on non empty strings (not treated as REs) as a stopgap until RE support? On Thursday, March 25, 2004, at 10:51 PM, Will Coleda (via RT) wrote: # New Ticket Created by Will Coleda # Please include the string: [perl #27962] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=27962 Here's an untested patch to fix the split op's warning. Index: ops/string.ops === RCS file: /cvs/public/parrot/ops/string.ops,v retrieving revision 1.15 diff -r1.15 string.ops 690c690 internal_exception(1, Unimplemented join by regex); --- internal_exception(1, Unimplemented split by regex); -- Will Coke Coledawill at coleda dot com -- Will Coke Coledawill at coleda dot com