You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-user@jakarta.apache.org by Adam Shackleford <ap...@sprynet.com> on 2001/06/12 18:19:02 UTC

Posix char classes broken

This:

public static void main(String[] args) {
 System.out.println(new Perl5Util().match("/[:digit:]/", "1"));
 System.out.println(new Perl5Util().match("/[0-9]/", "1"));
}

produces:

false
true

on System.out. It's a bug, no?

thnx,

adam

Adam Shackleford