[#1320] [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA)

けいじゅ@日本ラショナルソフトウェアです.

32 messages 1998/01/23
[#1321] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/23

まつもと ゆきひろです

[#1323] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/23

けいじゅ@日本ラショナルソフトウェアです.

[#1332] Re: [MethodIndex] Bug and question — keiju@... (Keiju ISHITSUKA) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1333] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/27

まつもと ゆきひろです

[#1334] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/27

けいじゅ@日本ラショナルソフトウェアです.

[#1351] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1353] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/29

まつもと ゆきひろです

[#1354] Re: [MethodIndex] Bug and question — keiju@... (石塚圭樹 ) 1998/01/29

けいじゅ@日本ラショナルソフトウェアです.

[#1355] Re: [MethodIndex] Bug and question — matz@... (Yukihiro Matsumoto) 1998/01/30

まつもと ゆきひろです

[ruby-dev:1309] subregex without backreference does not work

From: KIMURA Koichi <kkimura@...>
Date: 1998-01-21 07:52:25 UTC
List: ruby-dev #1309
木村です。

1.1b5で後方参照なしのグルーピングを使うと

  /foo(?:bar)/ =~ "foobar"

retest.rb:1: unmatched (: /foo(?:bar)/

のようにエラーになります(cygwin32, mswin32で確認)。

#0か-1をpushした方が良かったかな

--- regex.c~	Fri Jan 16 13:14:46 1998
+++ regex.c	Wed Jan 21 16:19:19 1998
@@ -1383,2 +1383,3 @@
 	    case ':':
+	      stackp++;  /* push sacrifice */
 	    default:


-- 
木村浩一
            May the source be with you.
    e-mail kbk@kt.rim.or.jp
           kkimura@pure.cpdc.canon.co.jp

In This Thread

Prev Next