[Chicago-talk] REGEX question II

Richard Solberg flateyjarbok at yahoo.com
Sat Apr 17 19:57:01 CDT 2004


Thanks Jim & Steve.  Now I know how to roll my own
character set for searches.  It worked in my
application.
Richard
--- Jim Thomason <jthomasoniii at yahoo.com> wrote:
> Piece of cake. Put it in a character set.
> 
> [\w\s/.]+
> 
> (being careful to escape that / if you're inside a
> search-n-replace that uses / as its delimiters).
> 
> In short, brackets denote character sets and match
> any
> character contained within them.
> 
> [a] matches a.
> [ab] matches a or b.
> [a\W] matches any character that is either a or a
> non-word.
> [a-z] matches a through z.
> 
> perldoc perlre for tons more info. I also strongly
> recommend "Mastering Regular Expressions" from
> O'reilly.
> 
> -Jim.....
> 
> --- Richard Solberg <flateyjarbok at yahoo.com> wrote:
> > I read that
> > \w+  will match any alpha numberics plus the "_".
> > 
> > Is there any way to get it or some other notation
> to
> > match all of \w+ plus \s+ plus "/" plus "." , in
> any
> > order or combination?
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash



More information about the Chicago-talk mailing list