Thread: Regex examples
View Single Post
Old 08-08-2014, 01:28 PM   #379
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,762
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
I could do \w if you want.
Which would only include non-ascii characters if regex's Unicode switch is turned on (and even then, it's going to include digits and underscores as well. No... if you're looking to match only letters--but even those letters used to spell naive and facade correctly--it's \p{L} you're gonna want.

Last edited by DiapDealer; 08-08-2014 at 01:36 PM.
DiapDealer is offline   Reply With Quote