Project

General

Profile

Actions

Bug #3568

closed

/(?<=a).*b/ =~ "aab" doesn't match

Added by naruse (Yui NARUSE) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-07-13 trunk 28624) [x86_64-freebsd8.1]
Backport:
[ruby-dev:41851]

Description

=begin
「1.9.1で /(?<=a).*b/ =~ "aab" がマッチしないのはなぜ? 」
http://pc12.2ch.net/test/read.cgi/tech/1272248179/735
=end

Actions

Also available in: Atom PDF

Like0
Like0