On 13 Dec 1999 22:54:59 PST, Nicholas G. Thornton wrote: >/(\d*)d(.\d*)?(\(\d*\))?/ > But basically what the problem is, is that with the above regexp "3d(5)" >will give me {3,(5,} instead of {3,,5}. Try turning '(\(' to '\(('. /(\d*)d(.\d*)?\((\d*\))?/ And I like "(.?\d*)" instead of "(.\d*)?". It then is always defined, but possibly with length 0. And you might be a bit more specific than just "." for the '+'. -- Bart. # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org