[Chicago-talk] REGEX question II
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
--- Jim Thomason <jthomasoniii at yahoo.com> wrote:
> Piece of cake. Put it in a character set.
> (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
> character contained within them.
> [a] matches a.
> [ab] matches a or b.
> [a\W] matches any character that is either a or a
> [a-z] matches a through z.
> perldoc perlre for tons more info. I also strongly
> recommend "Mastering Regular Expressions" from
> --- 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
> > match all of \w+ plus \s+ plus "/" plus "." , in
> > order or combination?
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
More information about the Chicago-talk