On 2002.03.28 05:52 Jarkko Hietaniemi wrote: > On Wed, Mar 27, 2002 at 12:39:57PM +0000, Hugo van der Sanden wrote: > > Mark Kvale <[EMAIL PROTECTED]> wrote: > > :4. Null /\p/ and /\P/ Unicode classes [...] > > > > Below is a patch for this one, and a slightly improved diagnostic. > > Thanks, applied.
And the test that goes with it : --- t/op/regmesg.t.orig Sun Aug 12 06:34:56 2001 +++ t/op/regmesg.t Thu Mar 28 10:07:19 2002 @@ -78,6 +78,10 @@ '/[[.barf.]]/' => 'POSIX syntax [. .] is reserved for future extensions in regex; marked by {#} in m/[[.barf.]{#}]/', '/[z-a]/' => 'Invalid [] range "z-a" in regex; marked by {#} in m/[z-a{#}]/', + + '/\p/' => 'Empty \p{} in regex; marked by {#} in m/\p{#}/', + + '/\P{}/' => 'Empty \P{} in regex; marked by {#} in m/\P{{#}}/', ); ##