From: Dirk Meijer Date: 2005-10-26T23:11:57+09:00 Subject: Re: regular expressions galore ------=_Part_2157_27015418.1130335914843 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline got it to work now, in the middle of the night, suddenly realized i really needed something else than what i was trying to get.. sorry for troubling you all, and thanks for the help :-) greetings, Dirk. 2005/10/26, William James : > > > Dirk Meijer wrote: > > it's still not working for me :-( > > !~ doesn't work anyway, because it only returns true or false, when i > need > > $& to be set. > > i think this one is proper: /^:?[\w\/'"$@#]+/ > > but what would be the opposite of that? > > %r{ ^ : ? [ / ' " # $ @ ] + }x > > and > > %r{ ^ (?! : ) [^ / ' " # $ @ ] + }x > > > ------=_Part_2157_27015418.1130335914843--