By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,276 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,276 IT Pros & Developers. It's quick & easy.

Regular Expression \w

P: n/a
I see that I can use \w which is the same as [a-bA-Z_0-9], but does this
mean it allows spaces? What is the "_" do in that pattern?
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
That expression means any letter, any number, or the underscore character.
Spaces wouldn't count.

http://bioregex.stanford.edu/orna/re...xpressions.htm

"Jim Heavey" <Ji*******@nospam.com> wrote in message
news:Xn*********************************@207.46.24 8.16...
I see that I can use \w which is the same as [a-bA-Z_0-9], but does this
mean it allows spaces? What is the "_" do in that pattern?


Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.