Szerző: Sheri Dátum: Címzett: pcre-dev Tárgy: Re: [pcre-dev] [Bug 774] Capturing groups and alternatives
Philip Hazel wrote: > Firstly, you should not expect group 1 to be set; the parentheses after
> "Send" will be numbered 2. This works fine for me when I use pcretest
> under Linux:
>
> $ pcretest
> PCRE version 7.7 2008-05-07
>
> re> "^Recv\(([\d/\-:\.]+)\)|Send\(([\d/\-:\.]+)\)"
> data> Send(10/06/2008-07:45:06.668)|8=FIX.4.2^A9=00246...
> 0: Send(10/06/2008-07:45:06.668)
> 1: <unset>
> 2: 10/06/2008-07:45:06.668
> data>
>
> I am not a Windows user, so I cannot test it under windows.
>
> Philip
>
>
>
The result is identical on Windows (but PCRE version here is 7.8)