[#8484] strptime fails to properly parse certain inputs — <noreply@...>

Bugs item #5263, was opened at 2006-08-01 23:14

13 messages 2006/08/02
[#8485] Re: [ ruby-Bugs-5263 ] strptime fails to properly parse certain inputs — Yukihiro Matsumoto <matz@...> 2006/08/02

Hi,

[#8538] Re: [ ruby-Bugs-5263 ] strptime fails to properly parse certain inputs — nobu@... 2006/08/06

Hi,

[#8561] sandbox timers & block scopes — why the lucky stiff <ruby-core@...>

Two puzzles I am trying to solve:

28 messages 2006/08/08
[#8624] Re: sandbox timers & block scopes — why the lucky stiff <ruby-core@...> 2006/08/15

raise ThisDecayingInquisition, "anyone? anyone at all?"

[#8627] Re: sandbox timers & block scopes — MenTaLguY <mental@...> 2006/08/15

On Wed, 2006-08-16 at 00:35 +0900, why the lucky stiff wrote:

[#8628] Re: sandbox timers & block scopes — why the lucky stiff <ruby-core@...> 2006/08/15

On Wed, Aug 16, 2006 at 02:46:30AM +0900, MenTaLguY wrote:

[#8629] Re: sandbox timers & block scopes — "Charles O Nutter" <headius@...> 2006/08/15

On 8/15/06, why the lucky stiff <ruby-core@whytheluckystiff.net> wrote:

[#8690] a ruby-core primer — why the lucky stiff <ruby-core@...>

Hello, all. I've been working on the ruby-core page for the new Ruby site.

21 messages 2006/08/22

[ ruby-Bugs-5450 ] String#split includes match groups in result

From: <noreply@...>
Date: 2006-08-17 21:07:01 UTC
List: ruby-core #8659
Bugs item #5450, was opened at 2006-08-17 23:06
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5450&group_id=426

Category: Core
Group: 1.8.4
Status: Open
Resolution: None
Priority: 3
Submitted By: Nicola Piccinini (pic)
Assigned to: Nobody (None)
Summary: String#split includes match groups in result 

Initial Comment:
on a debian etch system:

pic@stakhanov:~$ ruby -v
ruby 1.8.4 (2005-12-24) [i486-linux]
pic@stakhanov:~$ irb
irb(main):001:0> 'en;q=0.4,it,ru-RU,ar;q=1.34,he'.split(/(;q=\d+\.\d+)?,/) => ["en", ";q=0.4", "it", "ru-RU", "ar", ";q=1.34", "he"]

Is this the intended behaviour?
Shouldn't the result be ["en", "it", "ru-RU", "ar", "he"] instead?

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5450&group_id=426

In This Thread

Prev Next