in reply to Re: warning using a regexp
in thread warning using a regexp

Eh, no, that will still error. Try:
/^[-\w'.*]*$/

Abigail

Replies are listed 'Best First'.
Re: Re: warning using a regexp
by Sihal (Pilgrim) on Jan 10, 2003 at 13:07 UTC
    in fact without warning the first regexp worked... I don't know how but it did....
    I wrote that :
    /^[\w\-'.*]*$/
    Would that be good ?
    It seems to be but I'm cautious now....