[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request: plain option for gsub
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 25 Aug 2014 14:10:58 -0300
> And all the suggested options for gsub seem not totally foolproof or
> not easy (not trivially easy for beginners, and the %p seems to depend
> on locale which doesn't sound like a good idea if this is meant to be
> secure in all cases - and it's not entirely obvious to beginners
> either).
Forget %p, if you cannot understand locales. Use ^%W, as several others
already mentioned in this thread, and as PiL recommends. (BTW, a good
book, for beginners too ;)
-- Roberto
- References:
- Re: Feature request: plain option for gsub, Axel Kittenberger
- Re: Feature request: plain option for gsub, Coroutines
- Re: Feature request: plain option for gsub, Sean Conner
- Re: Feature request: plain option for gsub, Coroutines
- Re: Feature request: plain option for gsub, Sean Conner
- Re: Feature request: plain option for gsub, Dirk Laurie
- Re: Feature request: plain option for gsub, Andrew Starks
- Re: Feature request: plain option for gsub, Jonas Thiem
- Re: Feature request: plain option for gsub, Dirk Laurie
- Re: Feature request: plain option for gsub, Jonas Thiem