On Mon, 2004-04-26 at 10:29, Jon Jensen wrote:
> > I need a regular expression that will only match filenames with
> > NO periods in them.  My attempts so far don't seem to work at
> > all, in the least.  Can someone give me a hint, please?
> 
> Something like this should work:
> 
> /[^\.]*/
> 

In most programs, this will match every string, as every string has 0 or
more non-period characters in it.  By changing it to /^[^.]*$/ you would
match the empty string and all other strings in which there are 0 or
more non-period characters.

Casey

P.S. This post delay on the list is something else.

Attachment: signature.asc
Description: This is a digitally signed message part

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to