lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



I suggested "m" for is magic reference, also I never saw "m" used in any other "magic" utilization,  (printf, pattern etc...)

:-)

On 2015-06-14 10:59 PM, Brigham Toskin wrote:
I suppose it doesn't even have to be m/M. Anything easy to remember will do, if there's a specific reason not to use any particular letter.

On Fri, Jun 12, 2015 at 7:07 PM, Mike Nelson <mikestar1313@gmail.com> wrote:
On 6/12/2015 8:49 AM, Brigham Toskin wrote:
Oh, I rather like that. Is there any particular case someone can think of where this is likely to break a lot of code?

On Thu, Jun 11, 2015 at 11:54 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
2015-06-11 22:15 GMT+02:00 voidptr69@hotmail.com <voidptr69@hotmail.com>:
> so here my suggestion  ...
>
> Can we have a  "%m"  symbol  representing lua  "magic" characters set ?
> basically   this   "^$()%.[]*+-?"

This is quite a nice idea, especially since then %M will mean "any non-magic
character".




--
Brigham Toskin
 The only cases that would break existing is code is code that relies on formats of %m or %M being errors. Is such code at all common?

-- Mike Nelson



--
Brigham Toskin